also consider the resolutions array if no zoomOffset is provided. r=bartvde (closes #3485)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12357 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-09-12 04:26:32 +00:00
parent 98be6e313b
commit 22bd5fa546
5 changed files with 37 additions and 10 deletions
+4 -1
View File
@@ -297,7 +297,10 @@ OpenLayers.Layer = OpenLayers.Class({
/**
* APIProperty: wrapDateLine
* {Boolean} #487 for more info.
* {Boolean} Wraps the world at the international dateline, so the map can
* be panned infinitely in longitudinal direction. Only use this on the
* base layer, and only if the layer's maxExtent equals the world bounds.
* #487 for more info.
*/
wrapDateLine: false,