X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ae7f676b7380e1d73aeabff09ac5696802c8624f..fc961c14fa3762530123e7aad3fae77b6e89be65:/lib/template/search-json.php diff --git a/lib/template/search-json.php b/lib/template/search-json.php index 542e37af..3dcaabdb 100644 --- a/lib/template/search-json.php +++ b/lib/template/search-json.php @@ -41,6 +41,9 @@ $aPlace['class'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type']; + + $aPlace['importance'] = $aPointDetails['importance']; + if (isset($aPointDetails['icon']) && $aPointDetails['icon']) { $aPlace['icon'] = $aPointDetails['icon']; @@ -71,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; }