Map Kit Constants Reference
| Framework | MapKit/MapKit.h |
| Companion guide | |
| Declared in | MKGeometry.h MKTypes.h |
Overview
This document describes the constants found in the Map Kit framework
Constants
Null Map Rectangle
The null map rectangle
const MKMapRect MKMapRectNull;
Constants
MKMapRectNullYou can use this constant when you want to specify an invalid map rectangle.
Available in iOS 4.0 and later.
Declared in
MKGeometry.h.
World Map Constants
Map constants for the two-dimensional map projection.
const MKMapSize MKMapSizeWorld; const MKMapRect MKMapRectWorld;
Constants
MKMapSizeWorldSpecifies the width and height (in map points) of the world in the two-dimensional map projection.
Available in iOS 4.0 and later.
Declared in
MKGeometry.h.MKMapRectWorldThe map rectangle that represents the world in the two-dimensional map projection.
Available in iOS 4.0 and later.
Declared in
MKGeometry.h.
Error Domain
The error domain for Map Kit.
NSString *MKErrorDomain
Constants
MKErrorDomainThe Map Kit error domain.
Available in iOS 3.0 and later.
Declared in
MKTypes.h.
MKErrorCode
Error constants for the Map Kit framework.
enum MKErrorCode {
MKErrorUnknown = 1,
MKErrorServerFailure,
MKErrorLoadingThrottled,
MKErrorPlacemarkNotFound,
};
Constants
MKErrorUnknownAn unknown error occurred.
Available in iOS 3.0 and later.
Declared in
MKTypes.h.MKErrorServerFailureThe map server was unable to return the desired information.
Available in iOS 3.0 and later.
Declared in
MKTypes.h.MKErrorLoadingThrottledThe data was not loaded because data throttling is in effect.
Available in iOS 3.0 and later.
Declared in
MKTypes.h.MKErrorPlacemarkNotFoundThe specified placemark could not be found.
Available in iOS 3.0 and later.
Declared in
MKTypes.h.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-05-11)