Class: DragAndDropEvent

ol.interaction.DragAndDropEvent

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

Extends

Members

features{Array.<ol.Feature>} {undefined}

The features parsed from dropped data.

file{File}

The dropped file.

projection{ol.proj.Projection} {undefined} experimental

The feature projection.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

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

Stop event propagation.

stopPropagation() inherited

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

Stop event propagation.

Events

addfeatures

src/ol/interaction/draganddrop.js, line 183

Triggered when features are added

change inherited experimental

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

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