Getting rid of global yRestriction in Map.js (thanks jorix for the report).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11664 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1685,7 +1685,8 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
var x = hw + dx;
|
var x = hw + dx;
|
||||||
var y = hh + dy;
|
var y = hh + dy;
|
||||||
var wrapDateLine = this.baseLayer.wrapDateLine;
|
var wrapDateLine = this.baseLayer.wrapDateLine;
|
||||||
var xRestriction = yRestriction = 0;
|
var xRestriction = 0;
|
||||||
|
var yRestriction = 0;
|
||||||
if (this.restrictedExtent) {
|
if (this.restrictedExtent) {
|
||||||
xRestriction = hw;
|
xRestriction = hw;
|
||||||
yRestriction = hh;
|
yRestriction = hh;
|
||||||
|
|||||||
Reference in New Issue
Block a user