2022-09-08 21:40:48 +02:00
|
|
|
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"
|
2021-09-21 02:10:42 +02:00
|
|
|
|
|
|
|
export interface ShowDataLayerOptions {
|
2022-09-08 21:40:48 +02:00
|
|
|
features: FeatureSource
|
|
|
|
selectedElement?: UIEventSource<any>
|
|
|
|
leafletMap: Store<L.Map>
|
|
|
|
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 }
|
2022-09-08 21:40:48 +02:00
|
|
|
}
|