Bjonar, have you been able to work with kmz files? Most of the kml data that I hope to use in our map is compressed as kmz.
StreamReader streamReader = new StreamReader(seekableStream); string xml = streamReader.ReadToEnd(); xLocalDoc = XDocument.Load( #if SILVERLIGHT seekableStream #else XmlReader.Create(new StringReader(xml)) #endif , LoadOptions.None);
You can download the source for KmlLayer here and tinker with it.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.