Is there any way we can get all the features of an ENC layer and toggle their visibility?

02-01-2020 12:01 AM
New Contributor II

I was looking for an way to get the list of all the features, from an ENC layer, while looking through coding samples I came across 

Select ENC features | ArcGIS for Developers

In this sample code we have MapView.IdentifyLayersAsync and MapView.IdentifyLayerAsync methods, both these methods return Task<IReadOnlyList<IdentifyLayerResult>> and  Task<IdentifyLayerResult> respectively and we can then get features from the GeoElements, but both these methods require Point as input parameters, How can we do this without providing the point i.e. get all the features of a ENC layer and is it possible to toggle their visibility in MapView (specially in java 100.7.0)? Thanks in Advance

1 Reply
Esri Frequent Contributor

With ENC you control visibility via the display settings, and not on a feature-by-feature basis
ArcGIS Runtime SDK for .NET - WPF API Reference | ArcGIS for Developers 

0 Kudos