for search,details in format=HTML return geometry in geojson, not wkt. No longer need leaflet-omnivore plugin

This commit is contained in:
Marc Tobias Metten
2017-03-19 17:31:00 +01:00
parent 924d3a8d6e
commit 1e3bf9729e
7 changed files with 46 additions and 22 deletions

View File

@@ -241,7 +241,7 @@
echo 'var nominatim_map_init = ' . json_encode($aNominatimMapInit, JSON_PRETTY_PRINT) . ';';
$aPlace = array(
'outlinestring' => $aPointDetails['outlinestring'],
'asgeojson' => $aPointDetails['asgeojson'],
'lon' => $aPointDetails['lon'],
'lat' => $aPointDetails['lat'],
);