X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb76671ab9fbe6e6f40b53d8cdd4250820f79a92..dbb1f5c0e20ea2d915da4638b74d6579801c4586:/lib/template/search-json.php?ds=sidebyside diff --git a/lib/template/search-json.php b/lib/template/search-json.php index 57586fb9..3dcaabdb 100644 --- a/lib/template/search-json.php +++ b/lib/template/search-json.php @@ -74,6 +74,9 @@ $aPlace['geokml'] = $aPointDetails['askml']; } + if (isset($aPointDetails['sExtraTags'])) $aPlace['extratags'] = $aPointDetails['sExtraTags']; + if (isset($aPointDetails['sNameDetails'])) $aPlace['namedetails'] = $aPointDetails['sNameDetails']; + $aFilteredPlaces[] = $aPlace; }