2009-12-07 36 views

回答

1

如果MapView的是你的RMMapView和標誌是你的RMMarker

CLLocationCoordinate2D loc = [mapView.markerManager latitudeLongitudeForMarker:marker]; 

NSLog(@"Latitude: %f", loc.latitude); 
NSLog(@"Longitude: %f", loc.longitude);