forked from MapComplete/MapComplete
Automatically cluster maps with more then 250 elements
This commit is contained in:
parent
46b05d7410
commit
4dacfd157a
5 changed files with 19 additions and 13 deletions
2
State.ts
2
State.ts
|
@ -76,13 +76,11 @@ export default class State {
|
|||
This message is shown full screen on mobile devices
|
||||
*/
|
||||
public readonly fullScreenMessage = new UIEventSource<UIElement>(undefined)
|
||||
.addCallback(fs => console.log("Fullscreen message is", fs));
|
||||
|
||||
/**
|
||||
The latest element that was selected - used to generate the right UI at the right place
|
||||
*/
|
||||
public readonly selectedElement = new UIEventSource<any>(undefined)
|
||||
.addCallback(selected => console.log("Selected element is", selected));
|
||||
|
||||
public readonly featureSwitchUserbadge: UIEventSource<boolean>;
|
||||
public readonly featureSwitchSearch: UIEventSource<boolean>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue