Register an event

3D map can trigger some events. You can observe these events by calling registerEventmethod.

Javascript
Copy

The best place to register an event is in the loaded callback function.

Example

For the "mouseClickContainer", the event trigger when user click on a 3d container:

Javascript
Copy

All events are located in Events from unity section

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches