Map JS API
Handle events from the JS API
This topic demonstrates how to handle events raised by the Map JS API.
- The following events are raised when a connection state changed:
- Connected
- Connecting
- ConnectionLost
- Disconnected
- ConnectionFailed
- Interaction events:
- Clicked
- MouseMoved
- Item related events:
- ItemCreated
- ItemUpdated
- ItemDeleted
- ItemClicked
- ItemSelectionChanged
- Other events:
- OnMapReady: Raise when the Map Component is correctly initialized on API creation;
- OnAccessTokenExpired: Raised when the authentication token expire between Map JS API and Map Server;
Help Guide Powered by Documentor