]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-json.php
remove unused protolib
[nominatim.git] / lib / template / address-json.php
index 4ae41116e42ba792710b722f01bacd78305dd182..29e6e90176c29937bd6d348f76b1444ecec79b5a 100644 (file)
@@ -21,6 +21,8 @@
                         $aFilteredPlaces['osm_type'] = $sOSMType;\r
                         $aFilteredPlaces['osm_id'] = $aPlace['osm_id'];\r
                 }\r
+                if (isset($aPlace['lat'])) $aFilteredPlaces['lat'] = $aPlace['lat'];\r
+                if (isset($aPlace['lon'])) $aFilteredPlaces['lon'] = $aPlace['lon'];\r
                $aFilteredPlaces['display_name'] = $aPlace['langaddress'];\r
                $aFilteredPlaces['address'] = $aAddress;\r
        }\r