For i = 0 To AxMapControl1.ActiveView.FocusMap.LayerCount If AxMapControl1.ActiveView.FocusMap.Layer(i).Name = "Name of Your Layer from listbox or combobox" Then AxMapControl1.ActiveView.FocusMap.DeleteLayer(AxMapControl1.ActiveView.FocusMap.Layer(i)) End If Next
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.