]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
utils/update.php: make the process exit with an non-zero error code if the update...
[nominatim.git] / lib / template / search-jsonv2.php
index 126f78662df64970a3acc6c120599637fdaf975d..e974772023393a39818205bc22abe0201c2207c3 100644 (file)
                         $aPlace['geokml'] = $aPointDetails['askml'];
                 }
 
+               if (isset($aPointDetails['sExtraTags'])) $aPlace['extratags'] = $aPointDetails['sExtraTags'];
+               if (isset($aPointDetails['sNameDetails'])) $aPlace['namedetails'] = $aPointDetails['sNameDetails'];
+
                $aFilteredPlaces[] = $aPlace;
        }
 
-       javascript_renderData($aFilteredPlaces, array('geojson'));
+       javascript_renderData($aFilteredPlaces);