Renaming
This commit is contained in:
parent
fb48042b62
commit
4762156296
|
@ -6,7 +6,7 @@ import MouseHandler from './MouseHandler';
|
||||||
import SlippyBoard from './SlippyBoard';
|
import SlippyBoard from './SlippyBoard';
|
||||||
import SingleTouchHandler from './SingleTouchHandler';
|
import SingleTouchHandler from './SingleTouchHandler';
|
||||||
import DoubleTouchHandler from './DoubleTouchHandler';
|
import DoubleTouchHandler from './DoubleTouchHandler';
|
||||||
import TiledLayerConductor from './TiledLayersConductor';
|
import TiledLayersStack from './TiledLayersStack';
|
||||||
|
|
||||||
interface MapProperties {
|
interface MapProperties {
|
||||||
height: number;
|
height: number;
|
||||||
|
@ -80,7 +80,7 @@ const Map: react.FC<MapProperties> = (props: MapProperties) => {
|
||||||
height={boardSize}
|
height={boardSize}
|
||||||
fill='red'
|
fill='red'
|
||||||
/>
|
/>
|
||||||
<TiledLayerConductor
|
<TiledLayersStack
|
||||||
height={props.height}
|
height={props.height}
|
||||||
width={props.width}
|
width={props.width}
|
||||||
shift={shift}
|
shift={shift}
|
||||||
|
|
|
@ -6,7 +6,7 @@ interface Point {
|
||||||
y: number;
|
y: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TiledLayerConductorProperties {
|
interface TiledLayersStackProperties {
|
||||||
height: number;
|
height: number;
|
||||||
width: number;
|
width: number;
|
||||||
shift: Point;
|
shift: Point;
|
||||||
|
@ -17,8 +17,8 @@ interface TiledLayerConductorProperties {
|
||||||
setBaseZoomLevel: (baseZoomLevel: number) => void;
|
setBaseZoomLevel: (baseZoomLevel: number) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const TiledLayerConductor: react.FC<TiledLayerConductorProperties> = (
|
const TiledLayersStack: react.FC<TiledLayersStackProperties> = (
|
||||||
props: TiledLayerConductorProperties
|
props: TiledLayersStackProperties
|
||||||
) => {
|
) => {
|
||||||
const numberOfZoomLevels =
|
const numberOfZoomLevels =
|
||||||
props.numberOfZoomLevels === undefined
|
props.numberOfZoomLevels === undefined
|
||||||
|
@ -75,4 +75,4 @@ const TiledLayerConductor: react.FC<TiledLayerConductorProperties> = (
|
||||||
return <>{layers}</>;
|
return <>{layers}</>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default TiledLayerConductor;
|
export default TiledLayersStack;
|
Loading…
Reference in New Issue