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);
|
||||
return true;
|
||||
} 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) {
|
||||
// recenter the coordinate system
|
||||
this.setExtent(extent, true);
|
||||
|
||||
Reference in New Issue
Block a user