How to get the Latitude and Longitude of RMMarker (Cloudmade iphone API)
How do i get the latitude and longitude of a RMMarker? i can't see any method in the headers.
I would be very th开发者_StackOverflowankfull fur any help.
If mapView is your RMMapView and marker is your RMMarker
CLLocationCoordinate2D loc = [mapView.markerManager latitudeLongitudeForMarker:marker];
NSLog(@"Latitude: %f", loc.latitude);
NSLog(@"Longitude: %f", loc.longitude);
精彩评论