var map_layer= new ArcGISLocalDynamicMapServiceLayer(map_file_name); map_layer.Initialized += (s, e) => { foreach (LayerInfo sublayer in map_layer) { // figure out if you wan it visible map_layer.SetLayerVisibility(sublayer.ID, visible); } };
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.