mapcomplete/test.ts

26 lines
624 B
TypeScript
Raw Normal View History

2021-10-11 00:54:35 +02:00
import MoveWizard from "./UI/Popup/MoveWizard";
import State from "./State";
import {AllKnownLayouts} from "./Customizations/AllKnownLayouts";
2021-10-11 00:54:35 +02:00
import MinimapImplementation from "./UI/Base/MinimapImplementation";
2021-10-11 00:54:35 +02:00
State.state = new State(AllKnownLayouts.allKnownLayouts.get("bookcases"))
const feature = {
"type": "Feature",
2021-10-13 03:09:37 +02:00
"properties": {
id: "node/14925464"
},
2021-10-11 00:54:35 +02:00
"geometry": {
"type": "Point",
"coordinates": [
4.21875,
50.958426723359935
]
}
}
2021-10-11 00:54:35 +02:00
MinimapImplementation.initialize()
new MoveWizard(
feature,
2021-10-13 17:23:51 +02:00
State.state).AttachTo("maindiv")