14 lines
571 B
TypeScript
14 lines
571 B
TypeScript
import { UIEventSource } from "../Logic/UIEventSource"
|
|
import { BBox } from "../Logic/BBox"
|
|
import { RasterLayerPolygon } from "./RasterLayers"
|
|
|
|
export interface MapProperties {
|
|
readonly location: UIEventSource<{ lon: number; lat: number }>
|
|
readonly zoom: UIEventSource<number>
|
|
readonly bounds: UIEventSource<BBox>
|
|
readonly rasterLayer: UIEventSource<RasterLayerPolygon | undefined>
|
|
readonly maxbounds: UIEventSource<undefined | BBox>
|
|
readonly allowMoving: UIEventSource<true | boolean>
|
|
|
|
readonly allowZooming: UIEventSource<true | boolean>
|
|
}
|