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

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard