mapcomplete/test.ts

35 lines
892 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";
import MoveConfig from "./Models/ThemeConfig/MoveConfig";
import {FixedUiElement} from "./UI/Base/FixedUiElement";
import Combine from "./UI/Base/Combine";
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,
State.state,
new MoveConfig({
enableRelocation: false,
enableImproveAccuracy: true
}, "test")).AttachTo("maindiv")
*/