summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r--htdocs/mapscript.js6
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);
}