Class: MapEvent

ol.MapEvent


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

Subclasses

Extends

Members

frameState{olx.FrameState}

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

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.

moveend

src/ol/mapeventtype.js, line 22

Triggered after the map is moved.

movestart

src/ol/mapeventtype.js, line 15

Triggered when the map starts moving.

postrender

src/ol/mapeventtype.js, line 8

Triggered after a map frame is rendered.