Class: Event

ol.Object.Event


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

Extends

Members

key{string}

The name of the property whose value is changing.

oldValue{*}

The old value. To get the new value use e.target.get(e.key) where e is the event object.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

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

Stop event propagation.

stopPropagation() inherited

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

Stop event propagation.

Events

change inherited

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

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

propertychange

src/ol/objecteventtype.js, line 7

Triggered when a property is changed.