Global Variable

MKLaunchOptionsDirectionsModeKey

The mode of transportation.

Declaration

NSString *const MKLaunchOptionsDirectionsModeKey;

Discussion

The value of this key is an NSString corresponding to one of the values described in Directions Mode Values. You specify this key to tell the Maps app which mode of transport to use when generating directions.

See Also

Launch Options

MKLaunchOptionsCameraKey

The virtual camera to use for viewing the map.

MKLaunchOptionsDirectionsModeDefault

Directions that match the user’s preferred transportation type.

MKLaunchOptionsDirectionsModeDriving

Driving directions between the specified start and end points.

MKLaunchOptionsDirectionsModeTransit

Public transit directions between the specified start and end points.

MKLaunchOptionsDirectionsModeWalking

Walking directions between the specified start and end points.

MKLaunchOptionsMapCenterKey

The coordinate value on which to center the map.

MKLaunchOptionsMapSpanKey

The amount of the map to display.

MKLaunchOptionsMapTypeKey

The type of map (standard, satellite, or hybrid) to display.

MKLaunchOptionsShowsTrafficKey

A Boolean value indicating whether to display traffic information.