MapKit Namespace
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.
The MapKit namespace provides embeddable maps, annotations, and directions.
Classes
| Name | Description |
|---|---|
| MKAddress | |
| MKAddressFilter | |
| MKAddressRepresentations | |
| MKAnnotation |
Provides annotation information to the map view. |
| MKAnnotation_Extensions |
Extension methods to the IMKAnnotation interface to support all the methods from the MKAnnotation protocol. |
| MKAnnotation.Notifications |
Notifications posted by the MKAnnotation class. |
| MKAnnotationEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKAnnotationView | |
| MKAnnotationView.MKAnnotationViewAppearance |
Appearance class for objects of type MKAnnotationView. |
| MKAnnotationViewEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKCircle | |
| MKCircleRenderer | |
| MKCircleView |
The visual representation of a MKCircle. Developers targeting iOS 7 and later should instead use MKCircleRenderer. |
| MKCircleView.MKCircleViewAppearance |
Appearance class for objects of type MKCircleView. |
| MKClusterAnnotation | |
| MKClusterAnnotation.Notifications |
Notifications posted by the MKClusterAnnotation class. |
| MKCompassButton | |
| MKCompassButton.MKCompassButtonAppearance |
Appearance class for objects of type MKCompassButton. |
| MKDidAddOverlayRenderersEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKDidFinishRenderingMapEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKDirections | |
| MKDirectionsModeExtensions |
Extension methods for the MKDirectionsMode enumeration. |
| MKDirectionsRequest | |
| MKDirectionsResponse | |
| MKDistanceFormatter | |
| MKErrorCodeExtensions |
Extension methods for the MKErrorCode enumeration. |
| MKETAResponse | |
| MKFeatureDisplayPriority |
Enumerates annotation display priorities. |
| MKGeocodingRequest | |
| MKGeodesicPolyline | |
| MKGeoJsonDecoder | |
| MKGeoJsonFeature | |
| MKGeometry |
Helper class containing methods for calculating distances and latitude-dependent scales. |
| MKGradientPolylineRenderer | |
| MKHybridMapConfiguration | |
| MKIconStyle | |
| MKImageryMapConfiguration | |
| MKLaunchOptions |
Encapsulates properties to be used with OpenInMaps(MKLaunchOptions). |
| MKLocalPointsOfInterestRequest | |
| MKLocalSearch | |
| MKLocalSearchCompleter | |
| MKLocalSearchCompleterDelegate |
This is a class that implements the interface IMKLocalSearchCompleterDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface IMKLocalSearchCompleterDelegate. |
| MKLocalSearchCompleterDelegate_Extensions |
Extension methods to the IMKLocalSearchCompleterDelegate interface to support all the methods from the MKLocalSearchCompleterDelegate protocol. |
| MKLocalSearchCompletion | |
| MKLocalSearchRequest | |
| MKLocalSearchResponse | |
| MKLookAroundScene | |
| MKLookAroundSceneRequest | |
| MKLookAroundSnapshot | |
| MKLookAroundSnapshotOptions | |
| MKLookAroundSnapshotter | |
| MKLookAroundViewController | |
| MKLookAroundViewControllerDelegate |
This is a class that implements the interface IMKLookAroundViewControllerDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface IMKLookAroundViewControllerDelegate. |
| MKLookAroundViewControllerDelegate_Extensions |
Extension methods to the IMKLookAroundViewControllerDelegate interface to support all the methods from the MKLookAroundViewControllerDelegate protocol. |
| MKMapCamera | |
| MKMapCameraBoundary | |
| MKMapCameraZoomRange | |
| MKMapConfiguration | |
| MKMapFeatureAnnotation | |
| MKMapFeatureAnnotation.Notifications |
Notifications posted by the MKMapFeatureAnnotation class. |
| MKMapItem | |
| MKMapItemAnnotation | |
| MKMapItemAnnotation.Notifications |
Notifications posted by the MKMapItemAnnotation class. |
| MKMapItemDetailSelectionAccessoryPresentationStyle | |
| MKMapItemDetailViewController | |
| MKMapItemDetailViewControllerDelegate |
This is a class that implements the interface IMKMapItemDetailViewControllerDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface IMKMapItemDetailViewControllerDelegate. |
| MKMapItemIdentifier | |
| MKMapItemRequest | |
| MKMapSnapshot | |
| MKMapSnapshotOptions | |
| MKMapSnapshotter | |
| MKMapView | |
| MKMapView.MKMapViewAppearance |
Appearance class for objects of type MKMapView. |
| MKMapViewAccessoryTappedEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKMapViewAnnotationEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKMapViewChangeEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKMapViewDefault | |
| MKMapViewDelegate |
This is a class that implements the interface IMKMapViewDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface IMKMapViewDelegate. |
| MKMapViewDelegate_Extensions |
Extension methods to the IMKMapViewDelegate interface to support all the methods from the MKMapViewDelegate protocol. |
| MKMapViewDragStateEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKMarkerAnnotationView | |
| MKMarkerAnnotationView.MKMarkerAnnotationViewAppearance |
Appearance class for objects of type MKMarkerAnnotationView. |
| MKMultiPoint | |
| MKMultiPolygon | |
| MKMultiPolygonRenderer | |
| MKMultiPolyline | |
| MKMultiPolylineRenderer | |
| MKOverlay |
Describes a map annotation that combines a ___location and a geometric shape. |
| MKOverlay_Extensions |
Extension methods to the IMKOverlay interface to support all the methods from the MKOverlay protocol. |
| MKOverlayPathRenderer | |
| MKOverlayPathView |
A MKOverlayView whose visual reprepresentation is a CGPath. Developers targeting iOS 7 and later should instead use MKOverlayPathRenderer. |
| MKOverlayPathView.MKOverlayPathViewAppearance |
Appearance class for objects of type MKOverlayPathView. |
| MKOverlayRenderer | |
| MKOverlayView |
The visual representation of a MKOverlay. MKOverlayRenderer should be used instead of this class in apps targeting iOS 7 and later. |
| MKOverlayView.MKOverlayViewAppearance |
Appearance class for objects of type MKOverlayView. |
| MKOverlayViewsEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKPinAnnotationView | |
| MKPinAnnotationView.MKPinAnnotationViewAppearance |
Appearance class for objects of type MKPinAnnotationView. |
| MKPitchControl | |
| MKPitchControl.MKPitchControlAppearance |
Appearance class for objects of type MKPitchControl. |
| MKPlacemark | |
| MKPlacemark.Notifications |
Notifications posted by the MKPlacemark class. |
| MKPlacemarkAddress |
Class that contains address data for a place mark. |
| MKPointAnnotation | |
| MKPointOfInterestCategoryExtensions |
Extension methods for the MKPointOfInterestCategory enumeration. |
| MKPointOfInterestFilter | |
| MKPolygon | |
| MKPolygonRenderer | |
| MKPolygonView |
The visual representation of an MKPolygon annotation. Developers targeting iOS 7 and later should instead use MKPolygonRenderer. |
| MKPolygonView.MKPolygonViewAppearance |
Appearance class for objects of type MKPolygonView. |
| MKPolyline | |
| MKPolylineRenderer | |
| MKPolylineView |
The visual representation of an MKPolyline. Application developers targeting iOS 7 and later should prefer to use MKPolylineRenderer. |
| MKPolylineView.MKPolylineViewAppearance |
Appearance class for objects of type MKPolylineView. |
| MKReverseGeocoder |
Provides conversion between a specific ___location to information about that ___location (e.g., street address). |
| MKReverseGeocoderDelegate |
When overridden, allows customization of events relating to the lifecycle of a MKReverseGeocoder. |
| MKReverseGeocodingRequest | |
| MKRoute | |
| MKRouteStep | |
| MKScaleView | |
| MKScaleView.MKScaleViewAppearance |
Appearance class for objects of type MKScaleView. |
| MKSelectionAccessory | |
| MKShape | |
| MKShape.Notifications |
Notifications posted by the MKShape class. |
| MKStandardMapConfiguration | |
| MKTileOverlay | |
| MKTileOverlayRenderer | |
| MKUserLocation | |
| MKUserLocationEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| MKUserLocationView | |
| MKUserLocationView.MKUserLocationViewAppearance |
Appearance class for objects of type MKUserLocationView. |
| MKUserTrackingBarButtonItem |
A specialized UIBarButtonItem that allows the user to see and control the active MKUserTrackingMode . |
| MKUserTrackingBarButtonItem.MKUserTrackingBarButtonItemAppearance |
Appearance class for objects of type MKUserTrackingBarButtonItem. |
| MKUserTrackingButton |
A button for toggling the tracking mode. |
| MKUserTrackingButton.MKUserTrackingButtonAppearance |
Appearance class for objects of type MKUserTrackingButton. |
| MKZoomControl | |
| MKZoomControl.MKZoomControlAppearance |
Appearance class for objects of type MKZoomControl. |
| MMapViewUserTrackingEventArgs |
Provides data for an event based on an Objective-C protocol method. |
| NSUserActivity_MKMapItem |
Extension class for getting and setting map items on a NSUserActivity object. |
Structs
| Name | Description |
|---|---|
| MKCoordinateRegion |
Defines a region of the map to display. |
| MKCoordinateSpan |
The area spanned by a region of the map. |
| MKMapPoint |
A ___location in a 2D map projection. |
| MKMapRect |
A rectangular area in a 2D map projection, measured in map points. |
| MKMapSize |
The extent of a 2D map projection as measured in map points. |
| MKTileOverlayPath |
Encapsulates the index values of a particular MKTileOverlay. |
Interfaces
| Name | Description |
|---|---|
| IMKAnnotation |
Provides annotation information to the map view. |
| IMKGeoJsonObject |
This interface represents the Objective-C protocol |
| IMKLocalSearchCompleterDelegate |
This interface represents the Objective-C protocol |
| IMKLookAroundViewControllerDelegate |
This interface represents the Objective-C protocol |
| IMKMapItemDetailViewControllerDelegate |
This interface represents the Objective-C protocol |
| IMKMapViewDelegate |
This interface represents the Objective-C protocol |
| IMKOverlay |
Describes a map annotation that combines a ___location and a geometric shape. |
| IMKReverseGeocoderDelegate |
When overridden, allows customization of events relating to the lifecycle of a MKReverseGeocoder. |
Enums
| Name | Description |
|---|---|
| MKAddressFilterConstructorOption |
This enum is used to select how to initialize a new instance of a MKAddressFilter. |
| MKAddressFilterOption | |
| MKAddressRepresentationsContextStyle | |
| MKAnnotationViewCollisionMode |
Enumerates collision detection modes. |
| MKAnnotationViewDragState |
An enumeration of valid states for a dragged MKAnnotationView. |
| MKDirectionsMode |
An enumeration of travel methods for which directions can be provided. |
| MKDirectionsRoutePreference | |
| MKDirectionsTransportType |
An enumeration whose values specify the routing type for directions requests. |
| MKDistanceFormatterUnits |
An enumeration whose values specify the units used with MKDistanceFormatter. |
| MKDistanceFormatterUnitStyle |
An enumeration whose values specify the length of a MKDistanceFormatter string. |
| MKErrorCode |
An enumeration whose values represent various errors that can occur with CalculateDirections(MKDirectionsHandler) and CalculateETA(MKETAHandler). |
| MKFeatureVisibility |
Enumerates visibility behavior for marker titles. |
| MKLocalSearchCompleterResultType | |
| MKLocalSearchRegionPriority | |
| MKLocalSearchResultType | |
| MKLookAroundBadgePosition | |
| MKMapCameraZoomRangeType |
This enum is used to select how to initialize a new instance of a MKMapCameraZoomRange. |
| MKMapElevationStyle | |
| MKMapFeatureOptions | |
| MKMapFeatureType | |
| MKMapItemDetailSelectionAccessoryCalloutStyle | |
| MKMapType |
The type of map. |
| MKOverlayLevel |
An enumeration whose value specify whether the overlay should render above roads, but beneath labels, etc.. |
| MKPinAnnotationColor |
Color for map pins. |
| MKPointOfInterestCategory | |
| MKPointOfInterestFilterType |
This enum is used to select how to initialize a new instance of a MKPointOfInterestFilter. |
| MKScaleViewAlignment | |
| MKSearchCompletionFilterType |
Enumerates values that control whether search queries, in addition to place results, are included in completion lists. |
| MKStandardMapEmphasisStyle | |
| MKUserTrackingMode |
An enumeration of valid tracking modes. |
Delegates
| Name | Description |
|---|---|
| MKCreateClusterAnnotation | |
| MKDirectionsHandler |
The completion handler for calls to CalculateDirections(MKDirectionsHandler). |
| MKETAHandler |
The completion handler for calls to CalculateETA(MKETAHandler). |
| MKGeocodingRequestGetMapItemsCompletionHandler | |
| MKLocalSearchCompletionHandler |
A delegate that is used to handle the results of a map-based search. |
| MKMapSnapshotCompletionHandler |
The completion handler for StartAsync(DispatchQueue). |
| MKMapViewAnnotation | |
| MKMapViewDelegateGetSelectionAccessory | |
| MKMapViewOverlay | |
| MKRendererForOverlayDelegate | |
| MKReverseGeocodingRequestGetMapItemsCompletionHandler | |
| MKTileOverlayLoadTileCompletionHandler |
The completion handler for LoadTileAtPath(MKTileOverlayPath, MKTileOverlayLoadTileCompletionHandler). |
Remarks
You can use MapKit to embed maps in your application and display points of interest on them.