I want to know how to implement the new features in SDK 2.2.0. I tried to write it, but I didn't understand its working status. Can you give me an example code.
Thanks.
Hi,
Sample is coming soon - here's the branch (currently in review): GitHub - Esri/arcgis-maps-sdk-unity-samples at mas12517/Identify-Sample
Thanks
Thank you, this is exactly what I need!
I found a bug while using the Identify sample. Please refer to the uploaded video for the issue.
Data service address :https://www.arcgis.com/home/item.html?id=dfc65d5eba804f289f1c45ec0628c5ee
When using that sample watch the results panel. When you get multiple hits, the white arrows becomes enabled and let you scroll through the results, highlighting each one in turn.
What you're seeing is the expected behavior, where currently the returned result set is ordered by object/feature ID and not by distance from the start point. And so the first result might not be the one nearest the observer. It's on our roadmap to improve this behavior because it's more likely that user expect to see results sorted by distance, or rather the first result should be the nearest.
In the meantime, try changing the maximumResultsPerLayer parameter from -1 to 1 and you'll just get the first (topmost/nearest) hit.