forked from MapComplete/MapComplete
Fix all the bugs, feature-complete with the non-refactored version
This commit is contained in:
parent
5adc355a48
commit
25f2aa8e92
11 changed files with 467 additions and 99 deletions
|
@ -46,10 +46,12 @@ export class SimpleAddUI extends UIElement {
|
|||
|
||||
const self = this;
|
||||
for (const layer of State.state.filteredLayers.data) {
|
||||
|
||||
|
||||
this.ListenTo(layer.isDisplayed);
|
||||
|
||||
for (const preset of layer.layerDef.presets) {
|
||||
|
||||
const presets = layer.layerDef.presets;
|
||||
for (const preset of presets) {
|
||||
console.log("Preset:", preset)
|
||||
|
||||
let icon: string = layer.layerDef.icon.GetRenderValue(
|
||||
TagUtils.KVtoProperties(preset.tags ?? [])).txt ??
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue