ArcGIS Pro API 2.9
Real basic question converting from ArcObjects(IIdentify) to ArcGIS Pro.
I have multiple layers I need to gather information about.
Using the API community example CustomPopup.
//Get the features that intersect the sketch geometry.
var result = mapView.GetFeatures(geometry);
for (var kvp in results)
{
if (kvp.Key.Name == myLayer.Name) {// do something}
}
This only returns layers the end user has set as selectable and display turned on.
I already know I can set them SetSelectable, get current status and setback after MapTool is deactivated.
How to get all layers regardless if they're selectable or visible?