X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b0d9c0598ea028890ce99c26ecbb9f7b3eeef1ad..21c590416854b1245866b96772fde61050c0e01a:/lib/template/search-html.php?ds=sidebyside diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 88ca5f7a..8b995b62 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -1,46 +1,20 @@ - - + + + -
-
- -
- Data last updated: -
- -
-
-
- - -
-
-
-
+ + +
- - - - + + + - - } -?> -
-
-
-
+ -
- - - - + + + @@ -150,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) . ';'; ?>