Cargo Features

[dependencies]
objc2-map-kit = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "objc2-app-kit", "objc2-contacts", "objc2-core-location", "MKAnnotation", "MKAnnotationView", "MKCircle", "MKCircleRenderer", "MKClusterAnnotation", "MKCompassButton", "MKDirections", "MKDirectionsRequest", "MKDirectionsResponse", "MKDirectionsTypes", "MKDistanceFormatter", "MKFoundation", "MKGeoJSONSerialization", "MKGeodesicPolyline", "MKGeometry", "MKGradientPolylineRenderer", "MKHybridMapConfiguration", "MKImageryMapConfiguration", "MKLocalPointsOfInterestRequest", "MKLocalSearch", "MKLocalSearchCompleter", "MKLocalSearchRequest", "MKLocalSearchResponse", "MKLookAroundScene", "MKLookAroundSceneRequest", "MKLookAroundSnapshot", "MKLookAroundSnapshotOptions", "MKLookAroundSnapshotter", "MKLookAroundViewController", "MKMapCamera", "MKMapCameraBoundary", "MKMapCameraZoomRange", "MKMapConfiguration", "MKMapItem", "MKMapSnapshot", "MKMapSnapshotOptions", "MKMapSnapshotter", "MKMapView", "MKMarkerAnnotationView", "MKMultiPoint", "MKMultiPolygon", "MKMultiPolygonRenderer", "MKMultiPolyline", "MKMultiPolylineRenderer", "MKOverlay", "MKOverlayPathRenderer", "MKOverlayRenderer", "MKPinAnnotationView", "MKPitchControl", "MKPlacemark", "MKPointAnnotation", "MKPointOfInterestCategory", "MKPointOfInterestFilter", "MKPolygon", "MKPolygonRenderer", "MKPolyline", "MKPolylineRenderer", "MKShape", "MKStandardMapConfiguration", "MKTileOverlay", "MKTileOverlayRenderer", "MKTypes", "MKUserLocation", "MKUserLocationView", "MKZoomControl", "NSUserActivity_MKMapItem"] }
default = std

The std feature is set by default whenever objc2-map-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of objc2

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

all = MKAnnotation, MKAnnotationView, MKCircle, MKCircleRenderer, MKClusterAnnotation, MKCompassButton, MKDirections, MKDirectionsRequest, MKDirectionsResponse, MKDirectionsTypes, MKDistanceFormatter, MKFoundation, MKGeoJSONSerialization, MKGeodesicPolyline, MKGeometry, MKGradientPolylineRenderer, MKHybridMapConfiguration, MKImageryMapConfiguration, MKLocalPointsOfInterestRequest, MKLocalSearch, MKLocalSearchCompleter, MKLocalSearchRequest, MKLocalSearchResponse, MKLookAroundScene, MKLookAroundSceneRequest, MKLookAroundSnapshot, MKLookAroundSnapshotOptions, MKLookAroundSnapshotter, MKLookAroundViewController, MKMapCamera, MKMapCameraBoundary, MKMapCameraZoomRange, MKMapConfiguration, MKMapItem, MKMapSnapshot, MKMapSnapshotOptions, MKMapSnapshotter, MKMapView, MKMarkerAnnotationView, MKMultiPoint, MKMultiPolygon, MKMultiPolygonRenderer, MKMultiPolyline, MKMultiPolylineRenderer, MKOverlay, MKOverlayPathRenderer, MKOverlayRenderer, MKPinAnnotationView, MKPitchControl, MKPlacemark, MKPointAnnotation, MKPointOfInterestCategory, MKPointOfInterestFilter, MKPolygon, MKPolygonRenderer, MKPolyline, MKPolylineRenderer, MKShape, MKStandardMapConfiguration, MKTileOverlay, MKTileOverlayRenderer, MKTypes, MKUserLocation, MKUserLocationView, MKZoomControl, NSUserActivity_MKMapItem, block2, objc2-app-kit, objc2-contacts, objc2-core-location
block2 all?

Enables block2

Affects MKDirections::MKDirectionsHandler, MKDirections::MKETAHandler, MKLocalSearch::MKLocalSearchCompletionHandler, MKMapSnapshotter::MKMapSnapshotCompletionHandler

objc2-app-kit all?

Enables objc2-app-kit

objc2-contacts all?

Enables objc2-contacts

objc2-core-location all?

Enables objc2-core-location

Affects MKGeometry::MKCoordinateSpan, MKGeometry::MKCoordinateRegion, MKGeometry::MKCoordinateRegionMakeWithDistance, MKGeometry::MKMapPointForCoordinate, MKGeometry::MKCoordinateForMapPoint, MKGeometry::MKMetersPerMapPointAtLatitude, MKGeometry::MKMapPointsPerMeterAtLatitude, MKGeometry::MKMetersBetweenMapPoints, MKGeometry::MKCoordinateRegionForMapRect, MKLocalPointsOfInterestRequest::MKPointsOfInterestRequestMaxRadius, MKMapCameraZoomRange::MKMapCameraZoomDefault

MKAnnotation all?

Enables NSString of objc2-foundation, CLLocation of optional objc2-core-location

MKAnnotationView all?

Enables NSCoder, NSGeometry, NSObject and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSImage, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKCircle all?

Enables CLLocation of optional objc2-core-location

MKCircleRenderer all?

Enables NSGeometry of objc2-foundation

MKClusterAnnotation all?

Enables NSArray and NSString of objc2-foundation

MKCompassButton all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKDirections all?

Enables NSError of objc2-foundation

MKDirectionsRequest all?

Enables NSDate and NSURL of objc2-foundation

MKDirectionsResponse all?

Enables NSArray, NSDate and NSString of objc2-foundation, CLLocation of optional objc2-core-location

Affects MKDirections::MKDirectionsHandler, MKDirections::MKETAHandler

MKDirectionsTypes all?
MKDistanceFormatter all?

Enables NSFormatter, NSLocale, NSObject and NSString of objc2-foundation, CLLocation of optional objc2-core-location

MKFoundation all?
MKGeoJSONSerialization all?

Enables NSArray, NSData, NSError and NSString of objc2-foundation

MKGeodesicPolyline all?

Enables CLLocation of optional objc2-core-location

MKGeometry all?

Enables NSGeometry and NSValue of objc2-foundation, CLLocation of optional objc2-core-location

Affects MKOverlayRenderer::MKRoadWidthAtZoomScale

MKGradientPolylineRenderer all?

Enables NSArray and NSValue of objc2-foundation, NSColor of optional objc2-app-kit

MKHybridMapConfiguration all?

Enables NSObject of objc2-foundation

MKImageryMapConfiguration all?

Enables NSObject of objc2-foundation

MKLocalPointsOfInterestRequest all?

Enables NSObject of objc2-foundation, CLLocation of optional objc2-core-location

MKLocalSearch all?

Enables NSError of objc2-foundation

MKLocalSearchCompleter all?

Enables NSArray, NSError, NSString and NSValue of objc2-foundation, CLLocation of optional objc2-core-location

MKLocalSearchRequest all?

Enables NSObject and NSString of objc2-foundation, CLLocation of optional objc2-core-location

MKLocalSearchResponse all?

Enables NSArray of objc2-foundation, CLLocation of optional objc2-core-location

Affects MKLocalSearch::MKLocalSearchCompletionHandler

MKLookAroundScene all?

Enables NSObject of objc2-foundation

MKLookAroundSceneRequest all?

Enables NSError of objc2-foundation, CLLocation of optional objc2-core-location

MKLookAroundSnapshot all?

Enables NSImage of optional objc2-app-kit

MKLookAroundSnapshotOptions all?

Enables NSGeometry of objc2-foundation

MKLookAroundSnapshotter all?

Enables NSError of objc2-foundation

MKLookAroundViewController all?

Enables NSBundle, NSCoder, NSObject and NSString of objc2-foundation, NSKeyValueBinding, NSResponder, NSStoryboardSegue, NSUserInterfaceItemIdentification and NSViewController of optional objc2-app-kit

MKMapCamera all?

Enables NSGeometry and NSObject of objc2-foundation, CLLocation of optional objc2-core-location

MKMapCameraBoundary all?

Enables NSCoder and NSObject of objc2-foundation, CLLocation of optional objc2-core-location

MKMapCameraZoomRange all?

Enables NSObject of objc2-foundation, CLLocation of optional objc2-core-location

MKMapConfiguration all?

Enables NSObject of objc2-foundation

MKMapItem all?

Enables NSArray, NSDictionary, NSObject, NSString, NSTimeZone and NSURL of objc2-foundation, CLPlacemark of optional objc2-core-location

MKMapSnapshot all?

Enables NSGeometry of objc2-foundation, NSAppearance and NSImage of optional objc2-app-kit, CLLocation of optional objc2-core-location

Affects MKMapSnapshotter::MKMapSnapshotCompletionHandler

MKMapSnapshotOptions all?

Enables NSGeometry and NSObject of objc2-foundation, NSAppearance of optional objc2-app-kit, CLLocation of optional objc2-core-location

MKMapSnapshotter all?

Enables NSError of objc2-foundation

MKMapView all?

Enables NSArray, NSCoder, NSError, NSGeometry, NSObject, NSSet and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit, CLLocation of optional objc2-core-location

MKMarkerAnnotationView all?

Enables NSCoder, NSGeometry, NSObject and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSColor, NSDragging, NSImage, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKMultiPoint all?

Enables NSArray, NSGeometry, NSIndexSet, NSRange and NSValue of objc2-foundation, CLLocation of optional objc2-core-location

MKMultiPolygon all?

Enables NSArray of objc2-foundation

MKMultiPolygonRenderer all?
MKMultiPolyline all?

Enables NSArray of objc2-foundation

MKMultiPolylineRenderer all?
MKOverlay all?

Enables CLLocation of optional objc2-core-location

MKOverlayPathRenderer all?

Enables NSArray, NSGeometry and NSValue of objc2-foundation, NSColor of optional objc2-app-kit

MKOverlayRenderer all?

Enables NSGeometry of objc2-foundation

MKPinAnnotationView all?

Enables NSCoder, NSGeometry, NSObject and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSColor, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKPitchControl all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKPlacemark all?

Enables NSDictionary, NSObject and NSString of objc2-foundation, CNPostalAddress of optional objc2-contacts, CLLocation and CLPlacemark of optional objc2-core-location

MKPointAnnotation all?

Enables NSString of objc2-foundation, CLLocation of optional objc2-core-location

MKPointOfInterestCategory all?

Enables NSString of objc2-foundation

MKPointOfInterestFilter all?

Enables NSArray, NSObject and NSString of objc2-foundation

MKPolygon all?

Enables NSArray of objc2-foundation, CLLocation of optional objc2-core-location

MKPolygonRenderer all?

Enables NSGeometry of objc2-foundation

MKPolyline all?

Enables CLLocation of optional objc2-core-location

MKPolylineRenderer all?

Enables NSGeometry of objc2-foundation

MKShape all?

Enables NSString of objc2-foundation

MKStandardMapConfiguration all?

Enables NSObject of objc2-foundation

MKTileOverlay all?

Enables NSData, NSError, NSGeometry, NSString and NSURL of objc2-foundation

MKTileOverlayRenderer all?
MKTypes all?

Enables NSString of objc2-foundation

MKUserLocation all?

Enables NSString of objc2-foundation, CLHeading and CLLocation of optional objc2-core-location

MKUserLocationView all?

Enables NSCoder, NSGeometry, NSObject and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

MKZoomControl all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

NSUserActivity_MKMapItem all?

Enables NSUserActivity of objc2-foundation