forked from MapComplete/MapComplete
Scripts: automatically reorder layers and themes on generateLayerOverview.ts
This commit is contained in:
parent
1a7bcdca61
commit
8c5d9d6abc
3 changed files with 36 additions and 4 deletions
|
|
@ -1078,7 +1078,7 @@ class DeriveSource extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
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