Select to view content in your preferred language

Issue with IdentifyGraphicsOverlayAsync and FeatureReduction on Unclustered Graphics

224
2
06-11-2025 06:51 AM
Labels (3)
LucaCastenetto
Emerging Contributor

Hi,

I've encountered an issue when using IdentifyGraphicsOverlayAsync on a GraphicsOverlay with FeatureReduction enabled.

When tapping on a clustered item, the method correctly returns an AggregateGeoElement, which I can then use with GetGeoElementsAsync to retrieve the individual graphics. However, when tapping on a graphic that is not part of a cluster (i.e., a single, unclustered graphic), the method does not return any result.

This behavior seems inconsistent and may be a bug. I’m attaching a sample project that reproduces the issue for your review. I'm using .NET 9 and ArcGISRuntime 200.7. The issue occurs both on Android and iOS platforms. 

Please let me know if you need any additional information.

Best regards,
Luca

0 Kudos
2 Replies
PreetiMaske
Esri Regular Contributor

@LucaCastenetto , Thanks for reporting the issue. I am able to repro the problem. We will try to get this resolved in one of the near future releases. In the meantime, this can be workaround by not passing the maximumResults parameter to IdentifyGraphicsOverlay method.

 

Thanks again,

Preeti

0 Kudos
LucaCastenetto
Emerging Contributor

Hi @PreetiMaske , thanks for the quick response and for confirming the issue. The suggested workaround (omitting the maximumResults parameter) works well for my case. I’ll stick with that for now and look forward to the official fix in a future release. Appreciate your support!

Luca

0 Kudos