Skip to content

Commit 35cb978

Browse files
committed
update stamen map tiles
1 parent 66a9353 commit 35cb978

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/map/setup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const layers = (leaflet, map) => {
9999
);
100100

101101
const toner = leaflet.tileLayer(
102-
'https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}{r}.{ext}',
102+
'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.png ',
103103
{
104104
noWrap: true,
105105
maxZoom: 20,
@@ -108,7 +108,7 @@ export const layers = (leaflet, map) => {
108108
);
109109

110110
const tonerLite = leaflet.tileLayer(
111-
'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}{r}.{ext}',
111+
'https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png ',
112112
{
113113
noWrap: true,
114114
maxZoom: 20,
@@ -117,7 +117,7 @@ export const layers = (leaflet, map) => {
117117
);
118118

119119
const watercolor = leaflet.tileLayer(
120-
'https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.{ext}',
120+
'https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg ',
121121
{
122122
noWrap: true,
123123
maxZoom: 16,
@@ -126,7 +126,7 @@ export const layers = (leaflet, map) => {
126126
);
127127

128128
const terrain = leaflet.tileLayer(
129-
'https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}{r}.{ext}',
129+
'https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}{r}.png ',
130130
{
131131
noWrap: true,
132132
maxZoom: 18,

0 commit comments

Comments
 (0)