if (toLayer != null) { toLayer.InitializationFailed += (s, e) => { }; // to avoid crash if bad layer toLayer.Initialized += (s, e) => { CopyLayerVisibility((Layer)s, toLayer); }; printMap.Layers.Add(toLayer); }
ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer printdynamicService = (ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer)ToLayer; printdynamicService.VisibleLayers = visibleLayerList.ToArray();
myMap.Layers.LayersInitialized += ....
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.