MKMapPoint Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A location in a 2D map projection.
public struct MKMapPoint
type MKMapPoint = struct
- Inheritance
-
MKMapPoint
Remarks
Map Kit uses a Mercator projection with the Prime Meridian as its central meridian. An 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.
MKMapPoint are the 2D coordinates of a Mercator projection in Map Kit. Application developers can use them, for instance, with the MKMapSize and MKMapRect types, but will generally use either T:MapKit.CLLocationCoordinate2D types, which encapsulate the concept of latitude and longitude.
To convert from MKMapPoints to other types, use:
Constructors
MKMapPoint(Double, Double) |
Fields
X | |
Y |
Methods
Equals(Object) | |
FromCoordinate(CLLocationCoordinate2D) | |
GetHashCode() | |
ToCoordinate(MKMapPoint) | |
ToString() |
Operators
Equality(MKMapPoint, MKMapPoint) | |
Inequality(MKMapPoint, MKMapPoint) |