Class: CollectionEvent

ol.CollectionEvent

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

Extends

Members

element{*}

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

Events

add

src/ol/collection.js, line 18

Triggered when an item is added to the collection.

change inherited experimental

src/ol/events.js, line 13

Generic change event.

remove

src/ol/collection.js, line 24

Triggered when an item is removed from the collection.