Declaring inRange variable. No functional change.
This commit is contained in:
@@ -132,7 +132,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
this.translate(this.xOffset, 0);
|
this.translate(this.xOffset, 0);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
inRange = this.translate(left - this.left + this.xOffset, top - this.top);
|
var inRange = this.translate(left - this.left + this.xOffset, top - this.top);
|
||||||
if (!inRange) {
|
if (!inRange) {
|
||||||
// recenter the coordinate system
|
// recenter the coordinate system
|
||||||
this.setExtent(extent, true);
|
this.setExtent(extent, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user