Class: RenderEvent

ol/render/Event~RenderEvent


Extends

Members

context{CanvasRenderingContext2D} {null} {undefined}

Canvas context. Not available when the event is dispatched by the map. Only available when a Canvas renderer is used, null otherwise.

frameState{module:ol/PluggableMap~FrameState} {undefined}

An object representing the current render frame state.

inversePixelTransform{module:ol/transform~Transform} {undefined}

Transform from CSS pixels (relative to the top-left corner of the map viewport) to rendered pixels on this event's context.

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.

error inherited

events/EventType.js, line 17

Generic error event. Triggered when an error occurs.

postcompose

render/EventType.js, line 32

Triggered after all layers are rendered. The event object will not have a context set.

postrender

render/EventType.js, line 17

Triggered after a layer is rendered.

precompose

render/EventType.js, line 24

Triggered before layers are rendered. The event object will not have a context set.

prerender

render/EventType.js, line 10

Triggered before a layer is rendered.

rendercomplete

render/EventType.js, line 40

Triggered when rendering is complete, i.e. all sources and tiles have finished loading for the current viewport, and all tiles are faded in. The event object will not have a context set.