Skip to content

Commit f587ed5

Browse files
benoit9126brunob
authored andcommitted
fix: update MapTiler variants
1 parent f044457 commit f587ed5

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
@@ -444,9 +444,9 @@
444444
maxZoom: 21
445445
},
446446
variants: {
447-
Streets: 'streets',
448-
Basic: 'basic',
449-
Bright: 'bright',
447+
Streets: 'streets-v2',
448+
Basic: 'basic-v2',
449+
Bright: 'bright-v2',
450450
Pastel: 'pastel',
451451
Positron: 'positron',
452452
Hybrid: {
@@ -455,12 +455,35 @@
455455
ext: 'jpg'
456456
}
457457
},
458-
Toner: 'toner',
459-
Topo: 'topo',
460-
Voyager: 'voyager',
458+
Toner: 'toner-v2',
459+
Topo: 'topo-v2',
460+
Voyager: 'voyager-v2',
461461
Ocean: 'ocean',
462462
Backdrop: 'backdrop',
463-
Dataviz: 'dataviz'
463+
Dataviz: 'dataviz',
464+
DatavizLight: 'dataviz-light',
465+
DatavizDark: 'dataviz-dark',
466+
Aquarelle: {
467+
options: {
468+
variant: 'aquarelle',
469+
ext: 'webp'
470+
}
471+
},
472+
Landscape: 'landscape',
473+
Openstreetmap: {
474+
options: {
475+
variant: 'openstreetmap',
476+
ext: 'jpg'
477+
}
478+
},
479+
Outdoor: 'outdoor-v2',
480+
Satellite: {
481+
options: {
482+
variant: 'satellite',
483+
ext: 'jpg'
484+
}
485+
},
486+
Winter: 'winter-v2',
464487
}
465488
},
466489
TomTom: {

0 commit comments

Comments
 (0)