Refactoring: remove old and obsolete data fields in themes and layers

This commit is contained in:
Pieter Vander Vennet 2024-02-26 15:08:07 +01:00
parent 130ae82e90
commit 922cebf9d1
49 changed files with 574 additions and 664 deletions

View file

@ -135,6 +135,10 @@ export class UpdateLegacyLayer extends DesugaringStep<
delete config["rotation"]
delete config["wayHandling"]
delete config["hideUnderlayingFeaturesMinPercentage"]
const src = config.source
delete src["isOsmCache"]
delete src["maxCacheAge"]
delete src["widenFactor"]
for (const mapRenderingElement of config["mapRendering"] ?? []) {
if (mapRenderingElement["iconOverlays"] !== undefined) {