forked from MapComplete/MapComplete
Unofficial themes are remembered now
This commit is contained in:
parent
3305d108c7
commit
dd68cc39e7
4 changed files with 71 additions and 72 deletions
|
@ -103,7 +103,8 @@ export default class AvailableBaseLayersImplementation implements AvailableBaseL
|
|||
id: id,
|
||||
name: name,
|
||||
layer: () => L.tileLayer.provider(id, {
|
||||
maxNativeZoom: layer.options?.maxZoom
|
||||
maxNativeZoom: layer.options?.maxZoom,
|
||||
maxZoom: Math.max(layer.options?.maxZoom ?? 19, 21)
|
||||
}),
|
||||
min_zoom: 1,
|
||||
max_zoom: layer.options.maxZoom,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue