mapPointForPoint:
Returns the map point that corresponds to the specified point in the overlay view.
Declaration
- (MKMapPoint) mapPointForPoint:(CGPoint) point;Parameters
- point:
The point in the view’s coordinate system that you want to convert.
Return Value
The point on the two-dimensional map projection corresponding to the specified point.
Discussion
Because the bounds and frame rectangles of an overlay view do not change after the view has been created, you may call this method from multiple threads simultaneously. Therefore, you may call this method safely from your view’s drawMapRect:zoomScale:inContext: method.