forked from MapComplete/MapComplete
Add binoculars theme, auto reformat everything
This commit is contained in:
parent
38dea806c5
commit
78d6482c88
586 changed files with 115573 additions and 111842 deletions
12
test.ts
12
test.ts
|
@ -1,18 +1,8 @@
|
|||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
||||
import Hash from "./Logic/Web/Hash";
|
||||
import {InitUiElements} from "./InitUiElements";
|
||||
import {Utils} from "./Utils";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import {LocalStorageSource} from "./Logic/Web/LocalStorageSource";
|
||||
import LZString from "lz-string";
|
||||
import {LayoutConfigJson} from "./Models/ThemeConfig/Json/LayoutConfigJson";
|
||||
import Combine from "./UI/Base/Combine";
|
||||
import DirectionInput from "./UI/Input/DirectionInput";
|
||||
import Loc from "./Models/Loc";
|
||||
import AvailableBaseLayers from "./Logic/Actors/AvailableBaseLayers";
|
||||
import Minimap from "./UI/Base/Minimap";
|
||||
import ValidatedTextField from "./UI/Input/ValidatedTextField";
|
||||
|
||||
|
||||
const location = new UIEventSource<Loc>({
|
||||
|
@ -20,7 +10,7 @@ const location = new UIEventSource<Loc>({
|
|||
lat: 51.2,
|
||||
lon: 4.3
|
||||
})
|
||||
DirectionInput.constructMinimap = options => new Minimap(options)
|
||||
DirectionInput.constructMinimap = options => new Minimap(options)
|
||||
|
||||
new DirectionInput(
|
||||
AvailableBaseLayers.SelectBestLayerAccordingTo(location, new UIEventSource<string | string[]>("map")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue