Skip to content

Commit 3ff1bd7

Browse files
committed
fix: update MapTiler variants
1 parent 2a53d5a commit 3ff1bd7

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- Update the MapTiler variants [#591](https://github.com/leaflet-extras/leaflet-providers/pull/591)
56
- Add tiles in Catalan [#562](https://github.com/leaflet-extras/leaflet-providers/pull/562)
67
- Removed Esri.DeLorme layer [#556](https://github.com/leaflet-extras/leaflet-providers/pull/556)
78
- Update GeoportailFrance tiles url & remove apikey parameter [571](https://github.com/leaflet-extras/leaflet-providers/pull/571)

leaflet-providers.js

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@
443443
maxZoom: 21
444444
},
445445
variants: {
446-
Streets: 'streets',
447-
Basic: 'basic',
448-
Bright: 'bright',
446+
Streets: 'streets-v2',
447+
Basic: 'basic-v2',
448+
Bright: 'bright-v2',
449449
Pastel: 'pastel',
450450
Positron: 'positron',
451451
Hybrid: {
@@ -454,12 +454,35 @@
454454
ext: 'jpg'
455455
}
456456
},
457-
Toner: 'toner',
458-
Topo: 'topo',
459-
Voyager: 'voyager',
457+
Toner: 'toner-v2',
458+
Topo: 'topo-v2',
459+
Voyager: 'voyager-v2',
460460
Ocean: 'ocean',
461461
Backdrop: 'backdrop',
462-
Dataviz: 'dataviz'
462+
Dataviz: 'dataviz',
463+
DatavizLight: 'dataviz-light',
464+
DatavizDark: 'dataviz-dark',
465+
Aquarelle: {
466+
options: {
467+
variant: 'aquarelle',
468+
ext: 'webp'
469+
}
470+
},
471+
Landscape: 'landscape',
472+
Openstreetmap: {
473+
options: {
474+
variant: 'openstreetmap',
475+
ext: 'jpg'
476+
}
477+
},
478+
Outdoor: 'outdoor-v2',
479+
Satellite: {
480+
options: {
481+
variant: 'satellite',
482+
ext: 'jpg'
483+
}
484+
},
485+
Winter: 'winter-v2',
463486
}
464487
},
465488
TomTom: {

0 commit comments

Comments
 (0)