nakarte

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

commit 25bd94299a879dda8600580af045f9eb92ca566f
parent 853b60afb4948a66f242307d869d86671b132869
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Thu, 21 May 2026 19:24:01 +0200

layers: temporary disable mapy.cz

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

diff --git a/src/layers.js b/src/layers.js @@ -844,7 +844,7 @@ class LayerGroupWithOptions extends L.LayerGroup { ) }, { - title: 'mapy.cz tourist', + title: 'mapy.cz tourist (Out of order)', isDefault: true, layer: new RetinaTileLayer( [ @@ -861,11 +861,12 @@ class LayerGroupWithOptions extends L.LayerGroup { shortName: 'czech_tourist', hotkey: 'H', attribution: '<a href="https://mapy.cz/turisticka">mapy.cz outdoor map</a>', + maxZoom: -1, } ) }, { - title: 'mapy.cz winter', + title: 'mapy.cz winter (Out of order)', isDefault: false, layer: new LayerGroupWithOptions([ new L.TileLayer('https://proxy.nakarte.me/mapy/winter-en-down/{z}-{x}-{y}', { @@ -889,6 +890,7 @@ class LayerGroupWithOptions extends L.LayerGroup { isOverlay: false, isWrapper: true, attribution: '<a href="https://mapy.cz/zimni">mapy.cz winter map</a>', + maxZoom: -1, }), }, { @@ -1151,8 +1153,8 @@ class LayerGroupWithOptions extends L.LayerGroup { 'OpenTopoMap', 'OpenCycleMap', 'OSM Outdoors', - 'mapy.cz tourist', - 'mapy.cz winter', + 'mapy.cz tourist (Out of order)', + 'mapy.cz winter (Out of order)', ], }, @@ -1212,8 +1214,8 @@ class LayerGroupWithOptions extends L.LayerGroup { 'OpenTopoMap', 'OpenCycleMap', 'OSM Outdoors', - 'mapy.cz tourist', - 'mapy.cz winter', + 'mapy.cz tourist (Out of order)', + 'mapy.cz winter (Out of order)', // Satellite 'ESRI Satellite', 'Yandex Satellite',