[OpenLayers-Dev] root.parentNode is null for svg renderer

DiCiaccio, Ray - 0442 - MITLL ray.diciaccio at ll.mit.edu
Wed Sep 22 16:43:20 EDT 2010


Hi list,

I've made some extensive modifications/additions to the OpenLayers library to support our development here, but now I'm running into some issues with the SVG renderers. The problem seems to have something to do with the root node of a renderer becoming detached from the DOM, so that when 
OpenLayers.Renderer.Elements.moveRoot() is called, it fails on:
	root.parentNode.removeChild(root);
because root.parentNode is null.

I'm not manually removing this node at any point in my code, and I'm having a really difficult time tracking down where this occurs. Does anyone have any clues as to why this node might be removed or just even where in the OpenLayers library such a call might happen?

Thanks

- Ray



More information about the Dev mailing list