Launch Options Dictionary Keys

Launch options to specify when opening map items in the Maps app.

Overview

You specify these keys in the launch options dictionary for the openMapsWithItems:launchOptions: or openInMapsWithLaunchOptions: method.

Topics

Launch Options

MKLaunchOptionsDirectionsModeKey

The mode of transportation.

MKLaunchOptionsMapTypeKey

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

MKLaunchOptionsMapCenterKey

The coordinate value on which to center the map.

MKLaunchOptionsMapSpanKey

The amount of the map to display.

MKLaunchOptionsShowsTrafficKey

A Boolean value indicating whether to display traffic information.

MKLaunchOptionsCameraKey

The virtual camera to use for viewing the map.

See Also

Opening Items at Launch Time

Directions Mode Values

Strings representing the possible values of the MKLaunchOptionsDirectionsModeKey key.