This commit is contained in:
pietervdvn 2022-02-04 03:31:47 +01:00
parent 8cb6a18478
commit 9ff4323ec6

View file

@ -103,7 +103,7 @@ export default class AvailableBaseLayersImplementation implements AvailableBaseL
id: id,
name: name,
layer: () => L.tileLayer.provider(id, {
maxNativeZoom: layer.opttions.maxZoom
maxNativeZoom: layer.options?.maxZoom
}),
min_zoom: 1,
max_zoom: layer.options.maxZoom,