Class: VectorEvent

ol.source.VectorEvent

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

Extends

  • goog.events.Event
  • oli.source.VectorEvent

Members

feature{ol.Feature} {undefined}

The feature being added or removed.

Events

addfeature

src/ol/source/vectorsource.js, line 32

Triggered when a feature is added to the source.

changefeature experimental

src/ol/source/vectorsource.js, line 39

Triggered when a feature is updated.

clear experimental

src/ol/source/vectorsource.js, line 46

Triggered when the clear method is called on the source.

removefeature

src/ol/source/vectorsource.js, line 53

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