Processing of events
Description
The following are examples of working with events. For more information, see the DG.Evented and the Events sections of the documentation.
Note
The examples below use the RasterJS API library.
Subscribe to events
Sample subscriptions to various events (click on the marker map, geometry):
Subscribe to changes of 2GIS project
If you change the project, the boundaries of the current one are highlighted: