MapKit.MKMapView.ConvertCoordinate Method
Converts a map coordinate to a point.

Syntax

[Foundation.Export("convertCoordinate:toPointToView:")]
public virtual CoreGraphics.CGPoint ConvertCoordinate (CoreLocation.CLLocationCoordinate2D coordinate, UIKit.UIView toPointToView)

Parameters

coordinate
The coordinate to convert.
toPointToView

The view whose coordinate system should be used to convert the map coordinate.

This parameter can be null.

Returns

The converted point in the coordinate system of the specified view.

Remarks

If a view is not specified, the point will be relative to the window.

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0