Class: VectorSourceEvent

ol/source/Vector.VectorSourceEvent


Events emitted by module:ol/source/Vector instances are instances of this type.

Extends

Members

feature{module:ol/Feature~Feature.<Geometry>} {undefined}

The feature being added or removed.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

Stop event propagation.

stopPropagation() inherited

Stop event propagation.

Events

Triggered when a feature is added to the source.

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

Triggered when a feature is updated.

Triggered when the clear method is called on the source.

Generic error event. Triggered when an error occurs.

Triggered when a feature is removed from the source. See source.clear() for exceptions.