Contents

load(libraryNames)

Tells MapKit JS which libraries to load.

Declaration

load?(libraryNames: string[]): void;

Discussion

When this method is called, MapKit JS dispatches either a load event or an load-error event when the libraries are loaded. The event (MapKitLibraryLoadEvent) contains the array of library names specified in this method.

See Also

Initialization