This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Annotations API

drawing:enterDrawingMode

Notifies you when drawing mode has been entered.

Examples

annotationsApp.on('drawing:enterDrawingMode', function () {
    console.log('We are now in drawing mode.');
});
Was this article helpful?