mapcomplete/UI/ShowDataLayer/ShowDataLayerOptions.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
673 B
TypeScript
Raw Normal View History

import FeatureSource from "../../Logic/FeatureSource/FeatureSource"
import { Store, UIEventSource } from "../../Logic/UIEventSource"
import { ElementStorage } from "../../Logic/ElementStorage"
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
import ScrollableFullScreen from "../Base/ScrollableFullScreen"
export interface ShowDataLayerOptions {
features: FeatureSource
selectedElement?: UIEventSource<any>
2022-07-08 03:14:55 +02:00
leafletMap: Store<L.Map>
2022-03-02 17:13:21 +01:00
popup?: undefined | ((tags: UIEventSource<any>, layer: LayerConfig) => ScrollableFullScreen)
zoomToFeatures?: false | boolean
doShowLayer?: Store<boolean>
2022-01-26 21:40:38 +01:00
state?: { allElements?: ElementStorage }
}