X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/effd8e12af440586594a18a04beb33abed260d15..33ff96fd8323040f4551839e55c061b048329f66:/lib/template/details-html.php diff --git a/lib/template/details-html.php b/lib/template/details-html.php index a1334740..9ef59563 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -46,8 +46,7 @@ function hash_to_subtable($aAssociatedList) { $sHTML = ''; - foreach($aAssociatedList as $sKey => $sValue) - { + foreach ($aAssociatedList as $sKey => $sValue) { $sHTML = $sHTML.'
There are more child objects which are not shown.
'; } } @@ -241,11 +237,11 @@ 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'], ); - echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';'; + echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';'; ?>