diff --git a/lib/OpenLayers/Renderer/SVG.js b/lib/OpenLayers/Renderer/SVG.js index 9666fca181..b4f7bfa28f 100644 --- a/lib/OpenLayers/Renderer/SVG.js +++ b/lib/OpenLayers/Renderer/SVG.js @@ -282,9 +282,7 @@ OpenLayers.Renderer.SVG.prototype = 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); } },