2013-02-08 155 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