nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit e71036d6ef104d7223daf050bbf64caf495e0591
parent ce998a1a7a0844fe9f552c03da34ee2f901e1489
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Fri,  8 Jan 2021 22:01:59 +0100

layers: use slazav maps from slazav.xyz server

Diffstat:
Msrc/layers.js | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/layers.js b/src/layers.js @@ -261,12 +261,12 @@ class LayerGroupWithOptions extends L.LayerGroup { { title: 'Slazav mountains', isDefault: true, - layer: L.tileLayer("https://{s}.tiles.nakarte.me/map_hr/{z}/{x}/{y}", + layer: L.tileLayer("https://slazav.xyz/tiles/hr/{x}-{y}-{z}.png", { code: 'Q', isOverlay: true, isOverlayTransparent: false, - tms: true, + tms: false, scaleDependent: false, maxNativeZoom: 13, print: true, @@ -362,14 +362,14 @@ class LayerGroupWithOptions extends L.LayerGroup { ) }, { - title: 'Slazav map', + title: 'Slazav Moscow region map', isDefault: true, - layer: L.tileLayer("https://{s}.tiles.nakarte.me/map_podm/{z}/{x}/{y}", + layer: L.tileLayer("https://slazav.xyz/tiles/podm/{x}-{y}-{z}.png", { code: 'Z', isOverlay: true, isOverlayTransparent: false, - tms: true, + tms: false, scaleDependent: false, maxNativeZoom: 14, print: true, @@ -1145,7 +1145,7 @@ class LayerGroupWithOptions extends L.LayerGroup { 'GGC 500m', 'Topo 500m', 'GGC 250m', - 'Slazav map', + 'Slazav Moscow region map', 'Races', 'O-sport', 'Soviet topo maps grid', @@ -1267,7 +1267,7 @@ class LayerGroupWithOptions extends L.LayerGroup { 'Topo 250m', 'Montenegro topo 250m', 'France Topo 250m', - 'Slazav map', + 'Slazav Moscow region map', 'Races', 'O-sport', '#custom-top',