This sample demonstrates how to show location coordinates on a map using a callout. Tap and hold to display a callout showing the coordinates for the location. Release to hide it.
How it works
When the user taps on the map view the (void) - mapView:didLongPressAtScreenPoint:mapPoint: method on the AGSMapViewTouchDelegate is fired. Inside this delegate method, we have the logic to either show callout. In order to show, we setup the callout object on the mapView, by setting the title property as "Location" and detail property as a string composed using mapPoint.