Refactoring: fix usersettings vis

This commit is contained in:
Pieter Vander Vennet 2023-04-16 04:26:50 +02:00
parent 9a282cbce4
commit f203a1158d
2 changed files with 5 additions and 2 deletions

View file

@ -1144,7 +1144,7 @@ export class AddMiniMap extends DesugaringStep<LayerConfigJson> {
}
convert(layerConfig: LayerConfigJson, context: string): { result: LayerConfigJson } {
if (!layerConfig.tagRenderings) {
if (!layerConfig.tagRenderings || layerConfig.source === "special") {
return { result: layerConfig }
}
const state = this._state