I am working with Here Maps offline maps. I had added four MapMarkers (annotations) . Now i want to get the NMAGeoCoordinates of the Map marker using the didSelectObjects:(NSArray *)objects method. This method returns the values, but it does not return the coordinates of the MapMarker.. Please guide me how to get the coordinates of the marker on selecting it. Thanks in advance.
-(void)mapView:(NMAMapView *)mapView didSelectObjects:(NSArray *)objects
{
NSArray * arr=[[NSArray alloc]initWithArray:objects.lastObject];
NSLog(@"%@",arr);
}
-(void)mapView:(NMAMapView *)mapView didSelectObjects:(NSArray *)objects {
NMAMapMarker *mapMarker = objects.firstObject;
NSLog(@"coordinates: %@",mapMarker.coordinates);
}