2013-02-08 156 views
-2

anotation纬度和logitude这是可能获得在我怎样才能在iOS

- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { 


} 

anotation点的经度和纬度在这个函数

+1

你为什么不看MKAnnotation的文档? – AlexWien 2013-02-08 13:00:51

+0

我已查过男子..但没有得到它..仍然感谢您的回复 – Shyantanu 2013-02-08 13:03:38

+0

该引脚标有经度和纬度的帮助only.please得到经纬度和长形 – btmanikandan 2013-02-08 13:04:20

回答

1
annotation.coordinate.latitude 
annotation.coordinate.longitude 

但@AlexWien是正确的...一个快速浏览文档让您轻松发现...

+0

谢谢男人,它的作品.. – Shyantanu 2013-02-08 13:31:11