This project has moved. For the latest updates, please go here.

Removing StyleSelectors from a Document

Oct 30, 2012 at 6:59 PM

Is this possible without modifying the library or building an entirely new KML file?  I'm working on importing a file to database and I'm finding that Google Earth has created hundreds of duplicate Style and StyleMap objects.  I can update my placemarks just fine to remove the references, but I'm unclear as to how to rebuild the Style and StyleMap collections.

Also - it'd be nice (for this task) if more of the objects supported IComparable.