htdocs: Editorials

This commit is contained in:
Markus Koch 2021-12-27 11:55:10 +01:00
parent 66e80778a9
commit b2f543f49b

View File

@ -35,7 +35,7 @@ var streetLabelsRenderer = new L.StreetLabels({
fontSizeUnit: "px", fontSizeUnit: "px",
lineWidth: 3.0, lineWidth: 3.0,
fillStyle: "black", fillStyle: "black",
strokeStyle: "white", strokeStyle: "white"
}, },
}); });
@ -195,7 +195,7 @@ function load_tiles(name, id) {
if (name != "") { if (name != "") {
url = tiles_base + '{id}/{z}/{y}/{x}.png'; url = tiles_base + '{id}/{z}/{y}/{x}.png';
} }
var satellite = L.tileLayer(url, { var satellite = new L.TileLayer(url, {
maxZoom: 14 /*8*/, maxZoom: 14 /*8*/,
maxNativeZoom: 6, maxNativeZoom: 6,
minNativeZoom: 0, minNativeZoom: 0,