forked from MapComplete/MapComplete
First attempt to get the editor-layer-index working
This commit is contained in:
parent
e46ea51d44
commit
08175a747f
11 changed files with 268 additions and 74 deletions
9
test.ts
9
test.ts
|
@ -1,8 +1,5 @@
|
|||
import ValidatedTextField from "./UI/Input/ValidatedTextField";
|
||||
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
||||
import AvailableBaseLayers from "./Logic/AvailableBaseLayers";
|
||||
|
||||
|
||||
const vtf= ValidatedTextField.KeyInput(true);
|
||||
vtf.AttachTo('maindiv')
|
||||
vtf.GetValue().addCallback(console.log)
|
||||
new VariableUiElement(vtf.GetValue().map(n => ""+n)).AttachTo("extradiv")
|
||||
const layers = AvailableBaseLayers.AvailableLayersAt(51.2,3.2);
|
||||
console.log(layers);
|
Loading…
Add table
Add a link
Reference in a new issue