X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/016815eda29fcd4a858921f6cefc467d20952bab..21c590416854b1245866b96772fde61050c0e01a:/lib/template/address-html.php diff --git a/lib/template/address-html.php b/lib/template/address-html.php index 69618865..f8d425e2 100644 --- a/lib/template/address-html.php +++ b/lib/template/address-html.php @@ -15,11 +15,49 @@ + max zoom + + -
+
-
+ @@ -74,9 +112,11 @@ (isset($_GET['lat'])||$_GET['lat'])?16:NULL, - 'lat' => isset($_GET['lat'])?htmlspecialchars($_GET['lat']):NULL, - 'lon' => isset($_GET['lon'])?htmlspecialchars($_GET['lon']):NULL + 'zoom' => isset($_GET['zoom']) ? htmlspecialchars($_GET['zoom']) : CONST_Default_Zoom, + 'lat' => isset($_GET['lat'] ) ? htmlspecialchars($_GET['lat'] ) : CONST_Default_Lat, + 'lon' => isset($_GET['lon'] ) ? htmlspecialchars($_GET['lon'] ) : CONST_Default_Lon, + 'tile_url' => $sTileURL, + 'tile_attribution' => $sTileAttribution ]; echo 'var nominatim_map_init = ' . json_encode($aNominatimMapInit, JSON_PRETTY_PRINT) . ';';