http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0
Dim layer As FeatureLayer = MyMap.Layers.Item(1) mytxt.Text = layer.Graphics.Count
Dim layer As FeatureLayer = TryCast(sender, FeatureLayer) For Each g As Graphic In layer.Graphics Dim mg As New MyGraphic With {.Label = g.Attributes("Label")} newList.Add(mg) Next
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.