Class: MapEvent

ol/MapEvent~MapEvent


Events emitted as map events are instances of this type. See module:ol/PluggableMap~PluggableMap for which events trigger a map event.

Subclasses

Extends

Members

The frame state at the time of the event.

The map where the event occurred.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

events/Event.js, line 46

Stop event propagation.

stopPropagation() inherited

events/Event.js, line 54

Stop event propagation.

Events

change inherited

events/EventType.js, line 10

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

moveend

MapEventType.js, line 24

Triggered after the map is moved.

movestart

MapEventType.js, line 17

Triggered when the map starts moving.

postrender

MapEventType.js, line 10

Triggered after a map frame is rendered.