loadMap

Load a map and display it into a specific HTML element.

Parameters

NameTypeDescription
idMapnumberThe id of the map loaded
canvasstringThe canvas where to display the 3D map
callbackFunctionThe callback, called after map is loaded and ready.

Example

Javascript
Copy

Callback params

Callback function take a data paramter that contain:

NameTypeDescription
isUnderMaintenancebooleanIf true, 3D map is not available, you can use this for shows popup to final user with custom message
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard