0

我希望能够触摸地图上的一个点,它会返回一个 lat long,就这么简单。图书馆能满足这个要求吗?

4

1 回答 1

0

This should to the trick:

CLLocationCoordinate2D coords = [mapView convertPoint:aCgPoint toCoordinateFromView:mapView]; // or any other view

See also MKMapView Class Reference.

于 2012-08-06T18:01:49.020 回答