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

See Also: MKMapPoint Members

Syntax

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

Remarks

Map Kit uses a Mercator projection with the Prime Meridian as its central meridian. An MonoTouch.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.

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

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

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

Requirements

Namespace: MonoTouch.MapKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0