Global Variable

MKLaunchOptionsShowsTrafficKey

A Boolean value indicating whether to display traffic information.

Declaration

NSString *const MKLaunchOptionsShowsTrafficKey;

Discussion

The value of this key is an NSNumber object that contains a Boolean value. If you do not specify this key, Maps uses its current settings to determine whether or not to display traffic.

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.

MKLaunchOptionsDirectionsModeKey

The mode of transportation.

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.