5
我有这样的方法:我如何获得MKAnnotationView的坐标?
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
利用这一点,我能得到的坐标?
我有这样的方法:我如何获得MKAnnotationView的坐标?
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
利用这一点,我能得到的坐标?
return view.annotation.coordinate;
.annotation
属性:http://developer.apple.com/iphone/library/documentation/MapKit/Reference/MKAnnotationView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40008207-CH1-SW7.coordinate
属性:http://developer.apple.com/iphone/library/documentation/MapKit/Reference/MKAnnotation_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40008208-CH1-SW2
优秀的:)谢谢! – tarnfeld 2010-03-21 09:46:20