Use correct terrain-rgb tile size
This commit is contained in:
@@ -15,7 +15,8 @@ const disabledLayer = new TileLayer({
|
|||||||
attributions: attributions,
|
attributions: attributions,
|
||||||
url:
|
url:
|
||||||
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
|
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
|
||||||
maxZoom: 10,
|
tileSize: 512,
|
||||||
|
maxZoom: 12,
|
||||||
crossOrigin: '',
|
crossOrigin: '',
|
||||||
imageSmoothing: false,
|
imageSmoothing: false,
|
||||||
}),
|
}),
|
||||||
@@ -36,7 +37,8 @@ const enabledLayer = new TileLayer({
|
|||||||
attributions: attributions,
|
attributions: attributions,
|
||||||
url:
|
url:
|
||||||
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
|
'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key,
|
||||||
maxZoom: 10,
|
tileSize: 512,
|
||||||
|
maxZoom: 12,
|
||||||
crossOrigin: '',
|
crossOrigin: '',
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user