Calculating maxResolution instead of having it in defaults.
This commit is contained in:
@@ -388,6 +388,7 @@
|
||||
var map = new OpenLayers.Map({
|
||||
div: "map",
|
||||
maxExtent: new OpenLayers.Bounds(-185, -95, 185, 95),
|
||||
maxResolution: 1.40625,
|
||||
layers: [dummy, unconstrained, constrained],
|
||||
center: new OpenLayers.LonLat(0, 0),
|
||||
zoom: 1
|
||||
|
||||
Reference in New Issue
Block a user