Bug fix
This commit is contained in:
parent
0d08ff8cba
commit
cdf2ed2ea2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue