Class: Event

ol.interaction.Draw.Event

Events emitted by ol.interaction.Draw instances are instances of this type.

Extends

Members

feature{ol.Feature}

The feature being drawn.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

src/ol/events/event.js, line 48

Stop event propagation.

stopPropagation() inherited

src/ol/events/event.js, line 56

Stop event propagation.

Events

change inherited

src/ol/events/eventtype.js, line 8

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

drawend

src/ol/interaction/draweventtype.js, line 14

Triggered upon feature draw end

drawstart

src/ol/interaction/draweventtype.js, line 8

Triggered upon feature draw start