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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.