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 {OsmConnection} from "../../Logic/Osm/OsmConnection";
|
|
|
|
import {Changes} from "../../Logic/Osm/Changes";
|
|
|
|
import LayoutConfig from "../../Models/ThemeConfig/LayoutConfig";
|
|
|
|
import FilteredLayer from "../../Models/FilteredLayer";
|
|
|
|
import BaseLayer from "../../Models/BaseLayer";
|
|
|
|
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-01-19 20:34:04 +01:00
|
|
|
popup?: undefined | ((tags: 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>,
|
|
|
|
state?: {allElements?: ElementStorage}
|
2021-09-21 02:10:42 +02:00
|
|
|
}
|