hello,
I want to create a list of visible layers in the map and change the order of visibility of these in the card silverlight. how to please.
thank you
Hi,
I think these SDK sample might help: ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers (uses LegendControl in the Toolkit to update layer visibility).
You can get an enumerable of visible layers using Linq query
var visibleLayers = from l in MyMap.Layers
where l.Visible
select l;
If you need to re-order the layers, you can use Insert
MyMap.Layers.Insert(index, layer);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.