Class: MapEvent

ol/MapEvent~MapEvent


Events emitted as map events are instances of this type. See Map for which events trigger a map event.

Subclasses

Extends

Members

frameState{FrameState}

The frame state at the time of the event.

map{Map}

The map where the event occurred.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

stopPropagation() inherited

Stop event propagation.

Events

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

Generic error event. Triggered when an error occurs.

Triggered when loading of additional map data has completed.

Triggered when loading of additional map data (tiles, images, features) starts.

Triggered after the map is moved.

Triggered when the map starts moving.

postrender

Triggered after a map frame is rendered.