minzoom and maxBounds
Here is my conf for my openlevelup website instance:
var myOlu = OLU.init(
"openlevelup", //The div ID
"advanced", //The mode, between "basic" and "advanced"
{
"api": {
"https://www.overpass-api.de/api/interpreter?data=",
"nominatim": "https://nominatim.openstreetmap.org/",
},
"map": {
"clusterMinZoom": 18,
"dataMinZoom": 18,
"minZoom": 10,
"maxZoom": 20,
"center": {
"lat": 48.7761,
"lon": 2.2491,
"zoom": 18
},
"maxBounds": [[50,2],[46,5]]
},
"locales": [
"locales/en.yaml",
"locales/fr.yaml",
"locales/de.yaml",
"locales/hu.yaml",
"locales/pt.yaml",
"locales/nl.yaml"
],
}
);
minzoom and maxBounds (from leaflet doc) have no effect.
Is it the expected behavior ?
Edited by cigone