Class: CollectionEvent

ol.CollectionEvent

Events emitted by ol.Collection instances are instances of this type.

Extends

  • goog.events.Event
  • oli.CollectionEvent

Members

element{*}

The element that is added to or removed from the collection.

Events

add

src/ol/collection.js, line 19

Triggered when an item is added to the collection.

remove

src/ol/collection.js, line 25

Triggered when an item is removed from the collection.