#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:
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user