Draw a marker, line, or polygon using the toolbar below. The overlaycomplete event will capture the shape and output its coordinates in the text box.
overlaycomplete
Reference: https://github.com/mapchannels/mcx-drawing-polyfill