iOS Developer Library

Developer

MapKit Framework Reference

Introduction

Classes   Protocols   Other Reference  

About the Map Kit Framework

The Map Kit framework provides an interface for embedding maps directly into your own windows and views. This framework also provides support for annotating the map, adding overlays, and performing reverse-geocoding lookups to determine placemark information for a given map coordinate.

Classes

NSObject

NSObject is the root class of most Objective-C class hierarchies.

MKDirections

An MKDirections object provides you with route-based directions data from Apple servers.

MKDirectionsRequest

The MKDirectionsRequest class is used by apps that work with turn-based directions.

MKDirectionsResponse

The MKDirectionsResponse class provides a container for route information returned by the Apple servers.

MKETAResponse

The MKETAResponse class provides a container for travel-time information returned by the Apple servers.

MKLocalSearch

An MKLocalSearch object initiates a map-based search operation and delivers the results back to your app asynchronously.

MKLocalSearchRequest

An MKLocalSearchRequest object is a utility object that you use to specify map-based search parameters.

MKLocalSearchResponse

An MKLocalSearchResponse object contains the search results from a map-based search that was started using an MKLocalSearch object.

MKMapCamera

An MKMapCamera object describes a virtual camera that you use to define the appearance of the map.

MKMapItem

The MKMapItem class encapsulates information about a specific point on a map.

MKMapSnapshot

An MKMapSnapshot object contains an image generated by a snapshotter object.

MKMapSnapshotOptions

The MKMapSnapshotOptions class specifies the options to use when capturing map-based imagery.

MKMapSnapshotter

An MKMapSnapshotter object captures map-based imagery asynchronously.

MKOverlayRenderer

The MKOverlayRenderer class defines the basic behavior associated with all map-based overlays.

MKOverlayPathRenderer

The MKOverlayPathRenderer class draws a map overlay whose shape is represented by a CGPathRef data type.

MKCircleRenderer

The MKCircleRenderer class provides a visual representation for an MKCircle overlay object.

MKPolygonRenderer

The MKPolygonRenderer class provides the visual representation for an MKPolygon overlay object.

MKPolylineRenderer

The MKPolylineRenderer class provides the visual representation for an MKPolyline overlay object.

MKTileOverlayRenderer

An MKTileOverlayRenderer object handles the drawing of tiles managed by an MKTileOverlay object.

MKReverseGeocoder

The MKReverseGeocoder class provides services for converting a map coordinate (specified as a latitude/longitude pair) into information about that coordinate, such as the country, city, or street.

MKRoute

The MKRoute class defines a single route that the user can follow between a requested start and end point.

MKRouteStep

An MKRouteStep object represents one part of an overall route.

MKShape

The MKShape class is an abstract class that defines the basic properties for all shape-based annotation objects.

MKCircle

The MKCircle class is a concrete overlay object representing a circular area on a map.

MKMultiPoint

The MKMultiPoint class is an abstract superclass used to define shapes composed of multiple points.

MKPolygon

The MKPolygon class represents a shape consisting of one or more points that define a closed polygon.

MKPolyline

The MKPolyline class represents a shape consisting of one or more points that define connecting line segments.

MKGeodesicPolyline

The MKGeodesicPolyline class represents a line shape that traces the shortest path along the surface of the Earth.

MKPointAnnotation

The MKPointAnnotation class defines a concrete annotation object located at a specified point.

MKTileOverlay

The MKTileOverlay class implements an overlay that is optimized for covering an area of the map using individual bitmap tiles.

MKUserLocation

The MKUserLocation class defines a specific type of annotation that identifies the user’s current location.

NSFormatter

NSFormatter is an abstract class that declares an interface for objects that create, interpret, and validate the textual representation of cell contents.

MKDistanceFormatter

The MKDistanceFormatter class implements a formatter object for geographic distances.

CLPlacemark

A CLPlacemark object stores placemark data for a given latitude and longitude.

MKPlacemark

A MKPlacemark object stores placemark data for a given latitude and longitude.

UIView

The UIView class defines a rectangular area on the screen and the interfaces for managing the content in that area.

MKAnnotationView

The MKAnnotationView class is responsible for presenting annotations visually in a map view.

MKPinAnnotationView

The MKPinAnnotationView class provides a concrete annotation view that displays a pin icon like the ones found in the Maps application.

MKMapView

An MKMapView object provides an embeddable map interface, similar to the one provided by the Maps application.

MKOverlayView

The MKOverlayView class defines the basic behavior associated with all overlay views.

MKOverlayPathView

The MKOverlayPathView class represents a generic overlay that draws its contents using a CGPathRef data type.

MKCircleView

The MKCircleView class provides the visual representation for an MKCircle annotation object.

MKPolygonView

The MKPolygonView class provides the visual representation for an MKPolygon annotation object.

MKPolylineView

The MKPolylineView class provides the visual representation for an MKPolyline annotation object.

UIBarButtonItem

A bar button item is a button specialized for placement on a UIToolbar or UINavigationBar object.

MKUserTrackingBarButtonItem

AnMKUserTrackingBarButtonItem object is a specialized bar button item that allows the user to toggle through the user tracking modes.

Protocols

MKAnnotation

The MKAnnotation protocol is used to provide annotation-related information to a map view.

MKMapViewDelegate

The MKMapViewDelegate protocol defines a set of optional methods that you can use to receive map-related update messages.

MKOverlay

The MKOverlay protocol defines a specific type of annotation that represents both a point and an area on a map.

MKReverseGeocoderDelegate

The MKReverseGeocoderDelegate protocol defines the interface for receiving messages from an MKReverseGeocoder object.

Other Reference

MapKit Functions Reference

MapKit Data Types Reference

MapKit Constants Reference