nakarte

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

commit 86c7f840199c43307116de69e6a0906b39d58a3f
parent b939d5a1d982b3381a11d3b70701511bdff3c4d9
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Mon, 27 Oct 2025 19:51:12 +0100

layers: re-enable UK topo

Diffstat:
Msrc/layers.js | 8+++-----
Msrc/lib/leaflet.layer.bing/index.js | 2+-
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/layers.js b/src/layers.js @@ -919,8 +919,7 @@ class LayerGroupWithOptions extends L.LayerGroup { ) }, { - title: 'Great Britain Topo (out of order)', - disabled: true, + title: 'Great Britain Topo', isDefault: false, layer: new LayerGroupWithOptions( [ @@ -947,7 +946,6 @@ class LayerGroupWithOptions extends L.LayerGroup { code: 'Gbt', isOverlay: true, isWrapper: true, - maxZoom: -1, } ), }, @@ -1177,7 +1175,7 @@ class LayerGroupWithOptions extends L.LayerGroup { 'Montenegro topo 250m', 'Finland Topo', 'Sweden topo', - 'Great Britain Topo (out of order)', + 'Great Britain Topo', 'Slovakia topo', 'Spain topo', 'Switzerland topo', @@ -1258,7 +1256,7 @@ class LayerGroupWithOptions extends L.LayerGroup { 'GGC 1km', 'Topo 1km', 'Caucasus 1km', - 'Great Britain Topo (out of order)', + 'Great Britain Topo', 'GGC 500m', 'Topo 500m', 'Caucasus 500m', diff --git a/src/lib/leaflet.layer.bing/index.js b/src/lib/leaflet.layer.bing/index.js @@ -71,7 +71,7 @@ const BingSatLayer = BingBaseLayerWithDynamicUrl.extend({ const BingOrdnanceSurveyLayer = BingBaseLayerWithDynamicUrl.extend({ options: { - credentials: 'Auy875gcaw3RCFzVQSxi8Ytzw_K67r4Dw8DpGHavRZW_ciCBHLhQJAhCiXSdnzwH', + credentials: 'AuVxPHY_dRlWTHjKmQ-pjqsKKN3RQ8KjF7sPqpFzS-4A-W1-7JxLorxHoJxpLz8o', }, getLayerUrl: async function () {