Global Variable

MKLaunchOptionsDirectionsModeKey

The mode of transportation.

Declaration

let MKLaunchOptionsDirectionsModeKey: String

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

let MKLaunchOptionsCameraKey: String

The virtual camera to use for viewing the map.

let MKLaunchOptionsDirectionsModeDefault: String

Directions that match the user’s preferred transportation type.

let MKLaunchOptionsDirectionsModeDriving: String

Driving directions between the specified start and end points.

let MKLaunchOptionsDirectionsModeTransit: String

Public transit directions between the specified start and end points.

let MKLaunchOptionsDirectionsModeWalking: String

Walking directions between the specified start and end points.

let MKLaunchOptionsMapCenterKey: String

The coordinate value on which to center the map.

let MKLaunchOptionsMapSpanKey: String

The amount of the map to display.

let MKLaunchOptionsMapTypeKey: String

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

let MKLaunchOptionsShowsTrafficKey: String

A Boolean value indicating whether to display traffic information.