Merge pull request #4289 from ahocevar/image-static-maxzoom

Restrict maxZoom of the static-image example
This commit is contained in:
Andreas Hocevar
2015-10-19 11:02:23 +02:00

View File

@@ -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
})
});