Closed terribletim closed 4 years ago
Unfortunately the library is working as expected in this scenario, as the namespace is wrong. However there is another way to parse these files, see LegacyFiles for an example.
I hope that helps.
Thanks for info. It's a useful approach if you have the opportunity to inspect the file beforehand. But it's not suitable when trying to consume a web resource directly.
kmlFile.Root
is null when attempting to load USGS static kml - ColouredByAgeIt appears that namespace http://earth.google.com/kml/2.2 is not recognized. File will load if namespace is edited to "http://www.opengis.net/kml/2.2"