[OpenLayers-Commits] r3166 - trunk/openlayers/lib/OpenLayers/Renderer
commits at openlayers.org
commits at openlayers.org
Wed May 23 22:32:56 EDT 2007
Author: tschaub
Date: 2007-05-23 22:32:53 -0400 (Wed, 23 May 2007)
New Revision: 3166
Modified:
trunk/openlayers/lib/OpenLayers/Renderer/SVG.js
Log:
#701 - clear points from the SVG root that fall outside of the max pixel range
Modified: trunk/openlayers/lib/OpenLayers/Renderer/SVG.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Renderer/SVG.js 2007-05-23 23:35:05 UTC (rev 3165)
+++ trunk/openlayers/lib/OpenLayers/Renderer/SVG.js 2007-05-24 02:32:53 UTC (rev 3166)
@@ -282,9 +282,7 @@
node.setAttributeNS(null, "cy", y);
node.setAttributeNS(null, "r", radius);
} else {
- node.setAttributeNS(null, "cx", "");
- node.setAttributeNS(null, "cy", "");
- node.setAttributeNS(null, "r", 0);
+ this.root.removeChild(node);
}
},
More information about the Commits
mailing list