Skip to content

Commit 00f8441

Browse files
author
Vincent van der Wal
committed
set correct max zoom
1 parent 3afb8c0 commit 00f8441

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/+page.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,15 +302,15 @@
302302
tiles: ['https://mapproxy.servert.nl/wmts/copernicus/webmercator/{z}/{x}/{y}.png'],
303303
tileSize: 256,
304304
scheme: 'tms',
305-
maxzoom: 16
305+
maxzoom: 11
306306
});
307307
308308
map.addSource('hillshadeSource', {
309309
type: 'raster-dem',
310310
tiles: ['https://mapproxy.servert.nl/wmts/copernicus/webmercator/{z}/{x}/{y}.png'],
311311
tileSize: 256,
312312
scheme: 'tms',
313-
maxzoom: 16
313+
maxzoom: 11
314314
});
315315
316316
map.addLayer(
@@ -321,7 +321,7 @@
321321
paint: {
322322
'hillshade-method': 'igor',
323323
//'hillshade-exaggeration': 1,
324-
'hillshade-shadow-color': 'rgba(0,0,0,0.35)',
324+
'hillshade-shadow-color': 'rgba(0,0,0,0.4)',
325325
'hillshade-highlight-color': 'rgba(255,255,255,0.35)'
326326
}
327327
},

0 commit comments

Comments
 (0)