commit 5c7f7918fc716477783afcb21f0ba9415713f15d
parent d3441989aaa8c97bb3e5d06f2b740d95fb3f16ab
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Tue, 6 Nov 2018 22:41:08 +0100
Merge branch '149-england-topo' into release-5
Diffstat:
M | src/layers.js | | | 49 | ++++++++++++++++++++++++++++++++++++++++++++++--- |
1 file changed, 46 insertions(+), 3 deletions(-)
diff --git a/src/layers.js b/src/layers.js
@@ -128,7 +128,6 @@ export default function getLayers() {
}
)
},
-
{
title: 'marshruty.ru',
isDefault: true,
@@ -922,6 +921,44 @@ export default function getLayers() {
)
},
{
+ title: 'France Topo 250m',
+ isDefault: false,
+ layer: L.tileLayer("https://wxs.ign.fr/an7nvfzojv5wa96dsga5nk8w/geoportail/wmts?layer=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR.CV&style=normal&tilematrixset=PM&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix={z}&TileCol={x}&TileRow={y}",
+ {
+ minZoom: 6,
+ maxNativeZoom: 16,
+ bounds: [[41.29019, -4.94385], [51.23441, 9.82178]],
+ code: 'Ft',
+ isOverlay: true,
+ isOverlayTransparent: false,
+ tms: false,
+ print: true,
+ jnx: true,
+ scaleDependent: false,
+ shortName: 'france_topo_25k'
+ }
+ )
+ },
+ {
+ title: 'Great Britain Topo',
+ isDefault: false,
+ layer: new BingLayer(config.bingKey,
+ {
+ type: 'OrdnanceSurvey',
+ minZoom: 12,
+ maxNativeZoom: 16,
+ bounds: [[49.85171,-7.74708], [60.86949,1.80382]],
+ code: 'Gbt',
+ isOverlay: true,
+ isOverlayTransparent: false,
+ scaleDependent: false,
+ print: true,
+ jnx: true,
+ shortName: 'england_topo'
+ }
+ )
+ },
+ {
title: 'Waymarked Cycling Trails',
description: '<a href="https://cycling.waymarkedtrails.org/">https://cycling.waymarkedtrails.org</a>',
isDefault: false,
@@ -1001,7 +1038,10 @@ export default function getLayers() {
'Caucasus 500m',
'Topo 250m',
'Montenegro topo 250m',
- 'Finland Topo'],
+ 'Finland Topo',
+ 'France Topo 250m',
+ 'Great Britain Topo',
+ ],
},
{
title: 'Miscellaneous',
@@ -1046,7 +1086,8 @@ export default function getLayers() {
'Czech winter',
'Czech geographical'],
- }];
+ },
+ ];
const titlesByOrder = [
@@ -1088,12 +1129,14 @@ export default function getLayers() {
'GGC 1km',
'Topo 1km',
'Caucasus 1km',
+ 'Great Britain Topo',
'GGC 500m',
'Topo 500m',
'Caucasus 500m',
'GGC 250m',
'Topo 250m',
'Montenegro topo 250m',
+ 'France Topo 250m',
'Slazav map',
'Races',
'O-sport',