diff options
author | Markus Koch <markus@notsyncing.net> | 2021-12-27 11:55:10 +0100 |
---|---|---|
committer | Markus Koch <markus@notsyncing.net> | 2021-12-27 11:55:10 +0100 |
commit | b2f543f49bbef659bf62293d12f0720227dcb53f (patch) | |
tree | b7d10e368b486b9a46f7a7ff23fce0fad71293a1 | |
parent | 66e80778a90f6e846f304b7a5319a64a9dcca359 (diff) | |
download | lifomapserver-b2f543f49bbef659bf62293d12f0720227dcb53f.tar.gz lifomapserver-b2f543f49bbef659bf62293d12f0720227dcb53f.tar.bz2 lifomapserver-b2f543f49bbef659bf62293d12f0720227dcb53f.zip |
htdocs: Editorials
-rw-r--r-- | htdocs/mapscript.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index cf7066a..8bf0f3b 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -35,7 +35,7 @@ var streetLabelsRenderer = new L.StreetLabels({ fontSizeUnit: "px", lineWidth: 3.0, fillStyle: "black", - strokeStyle: "white", + strokeStyle: "white" }, }); @@ -195,7 +195,7 @@ function load_tiles(name, id) { if (name != "") { url = tiles_base + '{id}/{z}/{y}/{x}.png'; } - var satellite = L.tileLayer(url, { + var satellite = new L.TileLayer(url, { maxZoom: 14 /*8*/, maxNativeZoom: 6, minNativeZoom: 0, @@ -551,7 +551,7 @@ function search(e) { var route_layer; function route(e) // BOOKMARK -{ +{ if (route_layer) { mymap.removeLayer(route_layer); } |