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