2020-07-31 04:58:58 +02:00
|
|
|
import {State} from "./State";
|
|
|
|
import Cyclofix from "./Customizations/Layouts/Cyclofix";
|
|
|
|
import {CustomLayersPanel} from "./Logic/CustomLayersPanel";
|
2020-07-30 11:30:04 +02:00
|
|
|
|
2020-07-31 04:58:58 +02:00
|
|
|
State.state= new State(new Cyclofix());
|
2020-07-30 11:30:04 +02:00
|
|
|
|
2020-07-31 04:58:58 +02:00
|
|
|
new CustomLayersPanel().AttachTo("maindiv");
|
2020-07-30 11:30:04 +02:00
|
|
|
|
2020-07-31 04:58:58 +02:00
|
|
|
State.state.osmConnection.GetPreference("mapcomplete-custom-layer-count").addCallback((count) => console.log("Count: ", count))
|
|
|
|
|
|
|
|
State.state.favourteLayers.addCallback(console.log)
|