views:

113

answers:

1

How do i get the latitude and longitude of a RMMarker? i can't see any method in the headers.

I would be very thankfull fur any help.

A: 

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);
Second