2021-09-21 02:10:42 +02:00
|
|
|
import FeatureSource from "../../Logic/FeatureSource/FeatureSource";
|
|
|
|
import {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>,
|
2021-09-21 02:10:42 +02:00
|
|
|
leafletMap: UIEventSource<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-01-19 20:34:04 +01:00
|
|
|
doShowLayer?: UIEventSource<boolean>,
|
2022-01-26 21:40:38 +01:00
|
|
|
state?: { allElements?: ElementStorage }
|
2021-09-21 02:10:42 +02:00
|
|
|
}
|