Hi,
I'm trying to get the name/names of all the layers in the TOC that the user may have selected. Can anyone point me to an SDK sample or some code of how to do this??
Thanks,
Have you tried this:
var layers = MapView.Active.GetSelectedLayers();
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.