ESRI.ArcGIS.Client.Tasks.IdentifyParameters identifyParams = new IdentifyParameters() { Geometry = clickPoint, MapExtent = map.Extent, Width = (int)map.ActualWidth, Height = (int)map.ActualHeight, LayerOption = LayerOption.visible }; identifyParams.LayerIds.AddRange(new int[] { 1, 3, 5 }); ...
i would like to know how can i set the LayerIds value?
identifyParams.LayerIds.Add(1); identifyParams.LayerIds.Add(3); identifyParams.LayerIds.Add(5);
identifyParams.LayerIds.AddRange(new int[] { 1, 3, 5 });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.