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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.