set min zoom level to leaflet control
This commit is contained in:
@@ -84,7 +84,8 @@ export function createLeafletMapInstance(mapHolder, mapContainer, options) {
|
||||
|
||||
const tileLayer = leaflet.tileLayer(mapTileSource.tileUrlFormat, {
|
||||
subdomains: mapTileSource.tileUrlSubDomains,
|
||||
maxZoom: mapTileSource.maxZoom
|
||||
maxZoom: mapTileSource.maxZoom,
|
||||
minZoom: mapTileSource.minZoom
|
||||
});
|
||||
tileLayer.addTo(leafletInstance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user