Class

MapKitInitOptions

Initialization options for MapKit JS.

Declaration

interface MapKitInitOptions

Topics

Callback and Language

language

An ID that indicates the preferred language in which to display map labels, controls, directions, and other text.

authorizationCallback

A callback function that obtains a token.

See Also

Initialization

Handling Initialization Events

Handle events that trigger when MapKit JS initializes.

init

Initialize MapKit JS by providing an authorization callback function and optional language.

addEventListener

Subscribes a listener function to an event type.

removeEventListener

Unsubscribes a listener function from an event type.