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);
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.