Merge pull request #4289 from ahocevar/image-static-maxzoom
Restrict maxZoom of the static-image example
This commit is contained in:
commit
c8eb3adf1e
1 file changed
+2
-1
@@ -36,6 +36,7 @@ var map = new ol.Map({
|
||||
view: new ol.View({
|
||||
projection: projection,
|
||||
center: ol.extent.getCenter(extent),
|
||||
zoom: 2
|
||||
zoom: 2,
|
||||
maxZoom: 8
|
||||
})
|
||||
});
|
||||
Reference in new issue
Block a user