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.
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.
https://github.com/Esri/arcgis-maps-sdk-unity-samples/blob/3d4288f8cd8d1cfe8f70b59d1916ba24722c1749/sample_project/Assets/SampleViewer/Samples/Identify/Scripts/Identify.cs#L358
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
Thank you, this is exactly what I need!
Hi,
Sample is coming soon - here's the branch (currently in review): GitHub - Esri/arcgis-maps-sdk-unity-samples at mas12517/Identify-Sample
Thanks
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.