Class: DrawEvent

ol/interaction/Draw~DrawEvent


Events emitted by module:ol/interaction/Draw~Draw instances are instances of this type.

Extends

Members

The feature being drawn.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

events/Event.js, line 46

Stop event propagation.

stopPropagation() inherited

events/Event.js, line 54

Stop event propagation.

Events

change inherited

events/EventType.js, line 10

Generic change event. Triggered when the revision counter is increased.

drawend

interaction/Draw.js, line 139

Triggered upon feature draw end

drawstart

interaction/Draw.js, line 133

Triggered upon feature draw start

error inherited

events/EventType.js, line 17

Generic error event. Triggered when an error occurs.