Merge pull request #4289 from ahocevar/image-static-maxzoom
Restrict maxZoom of the static-image example
This commit is contained in:
@@ -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