Layer Aerials2005 = this.MyMap.Layers["Aerials2005"]; Layer Buildings = this.MyMap.Layers["Buildings"]; Layer Parcels = this.MyMap.Layers["Parcels"]; LayerCollection lc = this.MyMap.Layers; lc.Clear(); if (Aerials2005 != null) lc.Add(Aerials2005); if (Buildings != null) lc.Add(Buildings); if (Parcels != null) lc.Add(Parcels);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.