forked from MapComplete/MapComplete
refactoring: Remove more obsoleted code, add copyright tab
This commit is contained in:
parent
f8d34648a0
commit
042d400dc4
20 changed files with 44 additions and 342 deletions
|
@ -1,25 +0,0 @@
|
|||
import { UIEventSource } from "../UIEventSource"
|
||||
import FilteredLayer from "../../Models/FilteredLayer"
|
||||
import ScrollableFullScreen from "../../UI/Base/ScrollableFullScreen"
|
||||
import BaseUIElement from "../../UI/BaseUIElement"
|
||||
|
||||
/**
|
||||
* The stray-click-handler adds a marker to the map if no feature was clicked.
|
||||
* Shows the given uiToShow-element in the messagebox
|
||||
*
|
||||
* Note: the actual implementation is in StrayClickHandlerImplementation
|
||||
*/
|
||||
export default class StrayClickHandler {
|
||||
public static construct = (
|
||||
state: {
|
||||
LastClickLocation: UIEventSource<{ lat: number; lon: number }>
|
||||
selectedElement: UIEventSource<string>
|
||||
filteredLayers: UIEventSource<FilteredLayer[]>
|
||||
leafletMap: UIEventSource<any>
|
||||
},
|
||||
uiToShow: ScrollableFullScreen,
|
||||
iconToShow: BaseUIElement
|
||||
) => {
|
||||
return undefined
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue