This commit is contained in:
Eric van der Vlist 2022-10-16 15:54:53 +02:00
parent 0d08ff8cba
commit cdf2ed2ea2
1 changed files with 3 additions and 3 deletions

View File

@ -50,8 +50,8 @@ const TiledLayersStack: react.FC<TiledLayersStackProperties> = (
const currentTiledLayerKey = {
provider: tiledLayerKey.provider,
zoomLevel: zoomLevel - safetyZoomLevels + tiledLayerKey.zoomLevel,
x: tiledLayerKey.x * zoom,
y: tiledLayerKey.y * zoom,
x: Math.floor(tiledLayerKey.x * zoom),
y: Math.floor(tiledLayerKey.y * zoom),
};
return (
<TiledLayer