reverting accidently committed changes
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12358 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -133,14 +133,6 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
this.translate(0, 0);
|
||||
return true;
|
||||
} else {
|
||||
var maxExtent = this.map.getMaxExtent(),
|
||||
width = maxExtent.getWidth() / resolution;
|
||||
if (extent.left < maxExtent.left) {
|
||||
extent.left += width;
|
||||
}
|
||||
if (extent.right > maxExtent.right) {
|
||||
extent.left -= width;
|
||||
}
|
||||
var inRange = this.translate(left - this.left, top - this.top);
|
||||
if (!inRange) {
|
||||
// recenter the coordinate system
|
||||
|
||||
Reference in New Issue
Block a user