MapDisplay _md = null; _md = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay; string strMachineName = "localhost"; KmlLayer kmlLayer = new KmlLayer(new Uri(@http:// + strMachineName + @/KML/Projects.kml, UriKind.Absolute)); kmlLayer.Name = "LinkToKMLFile"; _md.Map.ChildItems.Add(kmlLayer);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.