forked from MapComplete/MapComplete
More refactoring: using a decent, configurable datapipeline now
This commit is contained in:
parent
6ac8ec84e4
commit
e42a668c4a
17 changed files with 434 additions and 265 deletions
|
@ -2,7 +2,6 @@ import * as L from "leaflet";
|
|||
import {UIElement} from "../../UI/UIElement";
|
||||
import Svg from "../../Svg";
|
||||
import {UIEventSource} from "../UIEventSource";
|
||||
import {FilteredLayer} from "../FilteredLayer";
|
||||
import Img from "../../UI/Base/Img";
|
||||
|
||||
/**
|
||||
|
@ -16,7 +15,7 @@ export class StrayClickHandler {
|
|||
constructor(
|
||||
lastClickLocation: UIEventSource<{ lat: number, lon:number }>,
|
||||
selectedElement: UIEventSource<string>,
|
||||
filteredLayers: UIEventSource<FilteredLayer[]>,
|
||||
filteredLayers: UIEventSource<{ readonly isDisplayed: UIEventSource<boolean>}[]>,
|
||||
leafletMap: UIEventSource<L.Map>,
|
||||
fullscreenMessage: UIEventSource<UIElement>,
|
||||
uiToShow: (() => UIElement)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue