How do I implement a feature like this where the user taps on a marker on the map and it triggers UI logic like showing a view or doing something else. I'm aware of the didTapAtScreenPoint delegate function but how do I know for sure the marker was tapped?
Solved! Go to Solution.
We have plenty of samples that demonstrate this functionality. Basically, you need to perform an "identify" in the delegate function to determine if the tap location falls on any graphics or features.
Here's a basic sample that shows how to do this - arcgis-runtime-samples-ios/README.md at 9aa1d46969175aec6607bbe6914e97bc63ea1569 · Esri/arcgis-runti...
We have plenty of samples that demonstrate this functionality. Basically, you need to perform an "identify" in the delegate function to determine if the tap location falls on any graphics or features.
Here's a basic sample that shows how to do this - arcgis-runtime-samples-ios/README.md at 9aa1d46969175aec6607bbe6914e97bc63ea1569 · Esri/arcgis-runti...
Thanks! I was able to implement the functionality! I was wondering though, how efficient are the identify grahpicOverlays and identify layers function at searching for the feature that is at the tapped point? Is it a straight forward linear search or is there something else going on?