File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -210,10 +210,10 @@ if (mapContainer) {
210
210
map . addSource ( 'rasterDem' , {
211
211
type : 'raster-dem' ,
212
212
tiles : [
213
- 'https://mbtiles.servert.nl/services/copernicus-90m -terrain/tiles/{z}/{x}/{y}.png'
213
+ 'https://mbtiles.servert.nl/services/copernicus-30m -terrain/tiles/{z}/{x}/{y}.png'
214
214
] ,
215
215
tileSize : 256 ,
216
- maxzoom : 10
216
+ maxzoom : 11
217
217
} ) ;
218
218
219
219
map . addLayer (
Original file line number Diff line number Diff line change @@ -142,8 +142,6 @@ const drawIcon = (
142
142
const lat = tile2lat ( y + iCenter / TILE_SIZE , z ) ;
143
143
const lon = tile2lon ( x + jCenter / TILE_SIZE , z ) ;
144
144
145
- let indCenter = jCenter + iCenter * TILE_SIZE ;
146
-
147
145
const { index, xFraction, yFraction } = getIndexAndFractions (
148
146
lat ,
149
147
lon ,
You can’t perform that action at this time.
0 commit comments