]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
Merge pull request #361 from mtmail/detail-page-big-table2
[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);