MapKit.MKMapPoint Structure
A location in a 2D map projection.

See Also: MKMapPoint Members

Syntax

[ObjCRuntime.iOS(4, 0)]
public struct MKMapPoint

Remarks

Map Kit uses a Mercator projection with the Prime Meridian as its central meridian. An MapKit.MKMapPoint represents a 2D point on that projection.

Map projections are a complex topic. The essential challenge is that any projection of a sphere onto a 2D plane will involve some distortions. The Mercator projection is a standard cylindrical projection that distorts large objects, particulary towards the poles. The distortion depends on the zoom factor of the map, as well.

MapKit.MKMapPoints are the 2D coordinates of a Mercator projection in Map Kit. Application developers can use them, for instance, with the MapKit.MKMapSize and MapKit.MKMapRect types, but will generally use either MapKit.CLLocationCoordinate2D types, which encapsulate the concept of latitude and longitude.

To convert from MapKit.MKMapPoints to other types, use:

Target TypeRelevant methods
CoreLocation.CLLocationCoordinate2DMKMapPoint.ToCoordinate
MapKit.MKCoordinateRegionMKCoordinateRegion.FromMapRect
System.Drawing.PointFMKOverlayView.PointForMapPoint
System.Drawing.PointFMKOverlayView.PointForMapPoint
System.Drawing.RectangleFMKOverlayView.RectForMapRect

Requirements

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