Use correct terrain-rgb tile size

This commit is contained in:
mike-000
2021-12-08 17:08:45 +00:00
committed by GitHub
parent 238695a107
commit 8de93330b5

View File

@@ -15,7 +15,8 @@ const disabledLayer = new TileLayer({
attributions: attributions,
url:
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
maxZoom: 10,
tileSize: 512,
maxZoom: 12,
crossOrigin: '',
imageSmoothing: false,
}),
@@ -36,7 +37,8 @@ const enabledLayer = new TileLayer({
attributions: attributions,
url:
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
maxZoom: 10,
tileSize: 512,
maxZoom: 12,
crossOrigin: '',
}),
});