2021-09-21 02:10:42 +02:00
|
|
|
import FeatureSource from "../../Logic/FeatureSource/FeatureSource"
|
2022-06-05 02:24:14 +02:00
|
|
|
import { Store, UIEventSource } from "../../Logic/UIEventSource"
|
2021-10-15 05:20:02 +02:00
|
|
|
import { ElementStorage } from "../../Logic/ElementStorage"
|
2022-01-19 20:34:04 +01:00
|
|
|
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
|
|
|
import ScrollableFullScreen from "../Base/ScrollableFullScreen"
|
2021-09-21 02:10:42 +02:00
|
|
|
|
|
|
|
export interface ShowDataLayerOptions {
|
|
|
|
features: FeatureSource
|
2021-10-15 05:20:02 +02:00
|
|
|
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)
|
2021-09-21 02:10:42 +02:00
|
|
|
zoomToFeatures?: false | boolean
|
2022-06-05 02:24:14 +02:00
|
|
|
doShowLayer?: Store<boolean>
|
2022-01-26 21:40:38 +01:00
|
|
|
state?: { allElements?: ElementStorage }
|
2021-09-21 02:10:42 +02:00
|
|
|
}
|