forked from MapComplete/MapComplete
Fix: don't show all items if favourites is shown
This commit is contained in:
parent
ad4afbaf52
commit
3292307208
4 changed files with 42 additions and 20 deletions
|
@ -159,7 +159,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
if (json["minZoom"] !== undefined) {
|
||||
throw "At " + context + ": minzoom is written all lowercase"
|
||||
}
|
||||
this.minzoomVisible = json.minzoomVisible ?? this.minzoom
|
||||
this.minzoomVisible = json.minzoomVisible ?? 100
|
||||
this.shownByDefault = json.shownByDefault ?? true
|
||||
this.doCount = json.isCounted ?? this.shownByDefault ?? true
|
||||
this.forceLoad = json.forceLoad ?? false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue