Cleanup
This commit is contained in:
parent
0284cdbab9
commit
425ad06e33
|
@ -4,8 +4,7 @@ import { useAtom } from 'jotai';
|
||||||
import { TileKeyObject } from './types';
|
import { TileKeyObject } from './types';
|
||||||
|
|
||||||
import { coordinateSystemAtom } from './Map';
|
import { coordinateSystemAtom } from './Map';
|
||||||
import TileSet from './TileSet';
|
import { range } from 'lodash';
|
||||||
import _, { floor, range } from 'lodash';
|
|
||||||
import tileUri from './uris';
|
import tileUri from './uris';
|
||||||
import TiledLayer from './TiledLayer';
|
import TiledLayer from './TiledLayer';
|
||||||
|
|
||||||
|
@ -64,7 +63,7 @@ export const LayerStack: react.FC<LayerStackProperties> = (
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TiledLayer
|
<TiledLayer
|
||||||
key={tileUri(keyObject)}
|
key={key}
|
||||||
keyObject={keyObject}
|
keyObject={keyObject}
|
||||||
shift={shift}
|
shift={shift}
|
||||||
zoom={zoom * 256}
|
zoom={zoom * 256}
|
||||||
|
|
Loading…
Reference in New Issue