iOS Guides | Samples

MapKit Namespace

The MapKit namespace provides embeddable maps, annotations, and directions.


You can use MapKit to embed maps in your application and displaying points of interest on them.


IMKAnnotationInterface representing the required methods (if any) of the protocol MKAnnotation.
IMKLocalSearchCompleterDelegateInterface representing the required methods (if any) of the protocol MKLocalSearchCompleterDelegate.
IMKMapViewDelegateInterface representing the required methods (if any) of the protocol MKMapViewDelegate.
IMKOverlayInterface representing the required methods (if any) of the protocol MKOverlay.
IMKReverseGeocoderDelegateInterface representing the required methods (if any) of the protocol MKReverseGeocoderDelegate.
MKAnnotationProvides annotation information to the map view.
MKAnnotation_ExtensionsExtension methods to the IMKAnnotation interface to support all the methods from the MKAnnotation protocol.
MKAnnotationViewRepresents an annotation in the MapView, created on demand from MKAnnotation objects.
MKAnnotationView+MKAnnotationViewAppearanceAppearance class for objects of type MKAnnotationView.
MKAnnotationViewDragStateAn enumeration of valid states for a dragged MKAnnotationView.
MKAnnotationViewEventArgsProvides data for the MKAnnotationViewEventArgs.DidDeselectAnnotationView and MKAnnotationViewEventArgs.DidSelectAnnotationView events.
MKCircleThe data specifying a circular overlay on a map.
MKCircleRendererThe visual representation of a MapKit.MKCircle..
MKCircleViewThe visual representation of a MKCircle. Developers targeting iOS 7 and later should instead use MKCircleRenderer.
MKCircleView+MKCircleViewAppearanceAppearance class for objects of type MKCircleView.
MKCoordinateRegionDefines a region of the map to display.
MKCoordinateSpanThe area spanned by a region of the map.
MKDidAddOverlayRenderersEventArgsProvides data for the MKDidAddOverlayRenderersEventArgs.DidAddOverlayRenderers event.
MKDidFinishRenderingMapEventArgsProvides data for the MKDidFinishRenderingMapEventArgs.DidFinishRenderingMap event.
MKDirectionsAn Apple-provided route to a destination.
MKDirectionsHandlerThe completion handler for calls to MKDirections.CalculateDirections.
MKDirectionsModeAn enumeration of travel methods for which directions can be provided.
MKDirectionsRequestEncapsulates a request for travel directions.
MKDirectionsResponseA set of routing instructions provided by Apple.
MKDirectionsTransportTypeAn enumeration whose values specify the routing type for directions requests.
MKDistanceFormatterConverts between distances and localized strings.
MKDistanceFormatterUnitsAn enumeration whose values specify the units used with MKDistanceFormatter.
MKDistanceFormatterUnitStyleAn enumeration whose values specify the length of a MKDistanceFormatter string.
MKErrorCodeAn enumeration whose values represent various errors that can occur with CalculateRoute and CalculateETA.
MKErrorCodeExtensionsExtension methods for the MapKit.MKErrorCode enumeration.
MKETAHandlerThe completion handler for calls to MKDirections.CalculateETA.
MKETAResponseTravel-time data returned by Apple servers. Used with MKDirections.CalculateETA.
MKGeodesicPolylineAn MKPolyline that represents the great-circle distance between two locations.
MKGeometryHelper class containing methods for calculating distances and latitude-dependent scales.
MKLaunchOptionsEncapsulates properties to be used with MKMapItem.OpenInMaps.
MKLocalSearchEncapsulates a single map-based search.
MKLocalSearchCompleterComputes and returns completions that match local locations or points of interest for partial user search strings.
MKLocalSearchCompleterDelegateDelegate object that receives, on behalf of a MKLocalSearchCompleter, map search completions of user input.
MKLocalSearchCompleterDelegate_ExtensionsExtension methods to the IMKLocalSearchCompleterDelegate interface to support all the methods from the MKLocalSearchCompleterDelegate protocol.
MKLocalSearchCompletionSystem-provided completed search term that was derived from partial user input.
MKLocalSearchCompletionHandlerA delegate that is used to handle the results of a map-based search.
MKLocalSearchRequestEncapsulate the request properties of a MKLocalSearch map-based search.
MKLocalSearchResponseEncapsulates the response properties of a MKLocalSearch map-based search.
MKMapCameraThe viewpoint that defines the perspective of the map.
MKMapItemInformation relating to a specific location on a map.
MKMapPointA location in a 2D map projection.
MKMapRectA rectangular area in a 2D map projection, measured in map points.
MKMapSizeThe extent of a 2D map projection as measured in map points.
MKMapSnapshotA visual snapshot of a MKMapView, produced by MKMapSnapshotter.
MKMapSnapshotCompletionHandlerThe completion handler for MKMapSnapshotter.Start.
MKMapSnapshotOptionsA class that can be used with MKMapSnapshotter.MKMapSnapshotter(MKSnapshotOptions) to specify various options for creating MKMapSnapshots.
MKMapSnapshotterCreates a visual MKMapSnapshot of the map, with all map tiles loaded.
MKMapTypeThe type of map.
MKMapViewEmbeddable Map View.
MKMapView+MKMapViewAppearanceAppearance class for objects of type MKMapView.
MKMapViewAccessoryTappedEventArgsProvides data for the MKMapViewAccessoryTappedEventArgs.CalloutAccessoryControlTapped event.
MKMapViewAnnotationSignature used to return a view from an annotation.
MKMapViewAnnotationEventArgsProvides data for the MKMapViewAnnotationEventArgs.DidAddAnnotationViews event.
MKMapViewChangeEventArgsProvides data for the MKMapViewChangeEventArgs.RegionChanged and MKMapViewChangeEventArgs.RegionWillChange events.
MKMapViewDelegateUsed to receive notifications from an MKMapView.
MKMapViewDelegate_ExtensionsExtension methods to the IMKMapViewDelegate interface to support all the methods from the MKMapViewDelegate protocol.
MKMapViewDragStateEventArgsProvides data for the MKMapViewDragStateEventArgs.ChangedDragState event.
MKMapViewOverlayThe delegate used by the MKMapView.GetViewForOvleray property.
MKMultiPointThe base class for map shapes composed of multiple points.
MKOverlayDescribes a map annotation that combines a location and a geometric shape.
MKOverlay_ExtensionsExtension methods to the IMKOverlay interface to support all the methods from the MKOverlay protocol.
MKOverlayLevelAn enumeration whose value specify whether the overlay should render above roads, but beneath labels, etc..
MKOverlayPathRendererA MKOverlayPathRenderer whose visual representation is a CGPath.
MKOverlayPathViewA MKOverlayView whose visual reprepresentation is a CGPath. Developers targeting iOS 7 and later should instead use MKOverlayPathRenderer.
MKOverlayPathView+MKOverlayPathViewAppearanceAppearance class for objects of type MKOverlayPathView.
MKOverlayRendererThe visual representation of a MKOverlay.
MKOverlayViewThe visual representation of a MKOverlay. MKOverlayRenderer should be used instead of this class in apps targeting iOS 7 and later.
MKOverlayView+MKOverlayViewAppearanceAppearance class for objects of type MKOverlayView.
MKOverlayViewsEventArgsProvides data for the MKOverlayViewsEventArgs.DidAddOverlayViews event.
MKPinAnnotationColorColor for map pins.
MKPinAnnotationViewRepresents a pin-like view that can be dropped on a map.
MKPinAnnotationView+MKPinAnnotationViewAppearanceAppearance class for objects of type MKPinAnnotationView.
MKPlacemarkCombines a specific location with data such as country and human-meaningful strings (such as a street address).
MKPlacemarkAddressClass that contains address data for a place mark.
MKPointAnnotationA map annotation that associates a specific location with the meaningful strings (e.g., street address) of an MKShape.
MKPolygonA map annotation that represents a closed polygon overlaid on a specific location.
MKPolygonRendererThe visual representation of an MKPolygon annotation.
MKPolygonViewThe visual representation of an MKPolygon annotation. Developers targeting iOS 7 and later should instead use MKPolygonRenderer.
MKPolygonView+MKPolygonViewAppearanceAppearance class for objects of type MKPolygonView.
MKPolylineA map annotation that represents a series of points that define an unclosed series of lines.
MKPolylineRendererThe visual representation of a MKPolyline.
MKPolylineViewThe visual representation of an MKPolyline. Application developers targeting iOS 7 and later should prefer to use MKPolylineRenderer.
MKPolylineView+MKPolylineViewAppearanceAppearance class for objects of type MKPolylineView.
MKRendererForOverlayDelegateThe function, specified by the MKMapView.GetRendererForOverlay property, that calculates the proper renderer for a given MKOverlay.
MKReverseGeocoderProvides conversion between a specific location to information about that location (e.g., street address).
MKReverseGeocoderDelegateWhen overridden, allows customization of events relating to the lifecycle of a MKReverseGeocoder.
MKRouteA traveling route, which consists of a number of MKRouteSteps.
MKRouteStepAn element in a MKRoute, representing a single traveling instruction.
MKSearchCompletionFilterTypeEnumerates values that control whether search queries, in addition to place results, are included in completion lists.
MKShapeBase class for shape-based map annotations.
MKTileOverlayAn MKOverlay that can be used in lieue of, or on top of, iOS's native map tiles.
MKTileOverlayLoadTileCompletionHandlerThe completion handler for MKTileOverlay.LoadTileAtPath.
MKTileOverlayPathEncapsulates the index values of a particular MKTileOverlay.
MKTileOverlayRendererDraws a MKTileOverlay on a MKMapView.
MKUserLocationAn annotation that represents the user's current location on a map.
MKUserLocationEventArgsProvides data for the MKUserLocationEventArgs.DidUpdateUserLocation event.
MKUserTrackingBarButtonItemA specialized UIBarButtonItem that allows the user to see and control the active MKUserTrackingMode .
MKUserTrackingBarButtonItem+MKUserTrackingBarButtonItemAppearanceAppearance class for objects of type MKUserTrackingBarButtonItem.
MKUserTrackingModeAn enumeration of valid tracking modes.
MMapViewUserTrackingEventArgsProvides data for the MMapViewUserTrackingEventArgs.DidChageUserTrackingMode and MMapViewUserTrackingEventArgs.DidChangeUserTrackingMode events.
NSUserActivity_MKMapItemExtension class for getting and setting map items on a NSUserActivity object.