Initialization options for MapKit JS.
SDK
- MapKit JS 5.0+
Framework
- Map
Kit JS
Declaration
interface MapKitInitOptions
Initialization options for MapKit JS.
SDK
Framework
interface MapKitInitOptions
language
An ID that indicates the preferred language in which to display map labels, controls, directions, and other text.
authorization Callback
A callback function that obtains a token.
Handle events that trigger when MapKit JS initializes.
init
Initialize MapKit JS by providing an authorization callback function and optional language.
add Event Listener
Subscribes a listener function to an event type.
remove Event Listener
Unsubscribes a listener function from an event type.