Changeset 5749
- Timestamp:
- 01/15/08 11:53:21 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/crschmidt/osm/lib/OpenLayers/Renderer/SVG.js
r5743 r5749 331 331 var x = (geometry.x / resolution + this.left); 332 332 var y = (this.top - geometry.y / resolution); 333 333 334 334 if (this.inValidRange(x, y)) { 335 335 node.setAttributeNS(null, "cx", x); … … 337 337 node.setAttributeNS(null, "r", radius); 338 338 } else { 339 this.root.removeChild(node); 339 if (node.parentNode) { 340 this.root.removeChild(node); 341 } 340 342 } 341 342 343 }, 343 344
