forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
a190597905
commit
087e639020
382 changed files with 29496 additions and 2675 deletions
|
|
@ -427,7 +427,7 @@ export class AddEditingElements extends DesugaringStep<LayerConfigJson> {
|
|||
})
|
||||
}
|
||||
|
||||
const spacerIndex = json.tagRenderings.findIndex(item => item?.["id"] === "spacer")
|
||||
const spacerIndex = json.tagRenderings.findIndex((item) => item?.["id"] === "spacer")
|
||||
if (spacerIndex >= 0) {
|
||||
json.tagRenderings.splice(spacerIndex, 1)
|
||||
}
|
||||
|
|
@ -1087,13 +1087,12 @@ class DeriveSource extends DesugaringStep<LayerConfigJson> {
|
|||
return json
|
||||
}
|
||||
|
||||
json.source = { osmTags: {and: [osmTags]} }
|
||||
json.source = { osmTags: { and: [osmTags] } }
|
||||
return json
|
||||
}
|
||||
}
|
||||
|
||||
export class OrderLayer extends DesugaringStep<LayerConfigJson>{
|
||||
|
||||
export class OrderLayer extends DesugaringStep<LayerConfigJson> {
|
||||
private static readonly layerAttributesOrder: ReadonlyArray<string> = Utils.Dedup(
|
||||
(<ConfigMeta[]>layerconfig).filter((c) => c.path.length === 1).map((c) => c.path[0])
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue