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