#701 - clear points from the SVG root that fall outside of the max pixel range

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-05-24 02:32:53 +00:00
parent 1ded257df1
commit bda31f36ea

View File

@@ -282,9 +282,7 @@ OpenLayers.Renderer.SVG.prototype =
node.setAttributeNS(null, "cy", y); node.setAttributeNS(null, "cy", y);
node.setAttributeNS(null, "r", radius); node.setAttributeNS(null, "r", radius);
} else { } else {
node.setAttributeNS(null, "cx", ""); this.root.removeChild(node);
node.setAttributeNS(null, "cy", "");
node.setAttributeNS(null, "r", 0);
} }
}, },