X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/851af3db7f54d489df0e6b6e9d16b6ee7d4d98fc..eda837a9e5dae51fbe39fbbde3c7f415af5b2a1c:/lib/template/search-html.php?ds=sidebyside diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 91e9e890..8b995b62 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -2,48 +2,19 @@ header("content-type: text/html; charset=UTF-8"); ?> + - -
-
- -
- Data last updated: -
- -
-
-
- - -
-
-
-
+ @@ -113,31 +87,8 @@ - - - + + @@ -148,11 +99,12 @@ $aNominatimMapInit = [ 'zoom' => $iZoom, 'lat' => $fLat, - 'lon' => $fLon + 'lon' => $fLon, + 'tile_url' => $sTileURL, + 'tile_attribution' => $sTileAttribution ]; echo 'var nominatim_map_init = ' . json_encode($aNominatimMapInit, JSON_PRETTY_PRINT) . ';'; - $aNominatimResults = []; echo 'var nominatim_results = ' . json_encode($aSearchResults, JSON_PRETTY_PRINT) . ';'; ?>