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. Only available when a Canvas renderer is used, null otherwise.

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 after all layers are rendered. The event object will not have a context set.

Triggered after a layer is rendered.

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

Triggered before a layer is rendered.

rendercomplete

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.