forked from MapComplete/MapComplete
Fix rainbox theme and add improvements
This commit is contained in:
parent
f0df09d0cb
commit
441d8467fe
8 changed files with 135 additions and 18 deletions
|
@ -191,6 +191,9 @@ export default class LayerConfig extends WithContextLoader {
|
|||
this.doNotDownload = json.doNotDownload ?? false;
|
||||
this.passAllFeatures = json.passAllFeatures ?? false;
|
||||
this.minzoom = json.minzoom ?? 0;
|
||||
if(json["minZoom"] !== undefined){
|
||||
throw "At "+context+": minzoom is written all lowercase"
|
||||
}
|
||||
this.minzoomVisible = json.minzoomVisible ?? this.minzoom;
|
||||
this.shownByDefault = json.shownByDefault ?? true;
|
||||
this.forceLoad = json.forceLoad ?? false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue