reverting accidently committed changes

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12358 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-09-12 04:31:16 +00:00
parent 22bd5fa546
commit 8bf0d74291
4 changed files with 8 additions and 34 deletions

View File

@@ -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