Initializes a Draw component.
Object to configure the initialization of the Draw interaction
The geometry API used to retrieve geometry groups if a geometry group key is provided in the options
Finishes the current drawing, triggering the drawend event. This is equivalent to double-clicking or pressing Enter to complete a drawing.
Unregisters a callback handler for the drawabort event.
The callback to stop being called whenever the event is emitted
Unregisters a callback handler for the drawend event.
The callback to stop being called whenever the event is emitted
Unregisters a callback handler for the drawstart event.
The callback to stop being called whenever the event is emitted
Registers a callback handler for the drawabort event.
The callback to be executed whenever the event is emitted
Registers a callback handler for the drawend event.
The callback to be executed whenever the event is emitted
Registers a callback handler for the drawstart event.
The callback to be executed whenever the event is emitted
Starts the interaction on the map.
Stops the interaction on the map.
Removes the last point added to the current drawing, allowing the user to undo the last step while drawing.
True if a point was removed, false if there were no points to remove
Class used for drawing features on a map.