nakarte

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

commit 33cf8374974f8cdcc0c2240161ca095f12adac81
parent 6e0d6abc70d71f73bce94ddd5132dca3b0ca52d6
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat,  4 Mar 2023 11:10:38 +0100

layers: remove "marshruty.ru", server returns 404 for tiles

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

diff --git a/src/layers.js b/src/layers.js @@ -165,24 +165,6 @@ class LayerGroupWithOptions extends L.LayerGroup { ) }, { - title: 'marshruty.ru', - isDefault: true, - layer: L.tileLayer('https://maps.marshruty.ru/ml.ashx?x={x}&y={y}&z={z}&i=1&al=1', - { - code: 'M', - isOverlay: false, - maxNativeZoom: 18, - noCors: true, - scaleDependent: true, - print: true, - jnx: true, - shortName: 'marshruty', - attribution: '<a href="https://www.marshruty.ru/Maps/Maps.aspx?x=60&y=55&z=8&t=4">' + - 'marshruty.ru</a>', - } - ) - }, - { title: 'Topomapper 1km', isDefault: true, layer: L.tileLayer( @@ -1166,7 +1148,6 @@ class LayerGroupWithOptions extends L.LayerGroup { 'Google Satellite', 'Google Terrain', 'Bing Satellite', - 'marshruty.ru', 'Topomapper 1km', 'Topo 10km', 'GGC 2 km', @@ -1269,7 +1250,6 @@ class LayerGroupWithOptions extends L.LayerGroup { 'Google Map', 'Google Terrain', // Topo maps - 'marshruty.ru', 'Topomapper 1km', // local base layers