Class: RenderEvent

ol/render/Event~RenderEvent


Members

context{CanvasRenderingContext2D} {null} {undefined}

Canvas context. Only available when a Canvas renderer is used, null otherwise.

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

An object representing the current render frame state.

glContext{module:ol/webgl/Context~WebGLContext} {null} {undefined}

WebGL context. Only available when a WebGL renderer is used, null otherwise.

For canvas, this is an instance of module:ol/render/canvas/Immediate~CanvasImmediateRenderer.

Events

postcompose

render/EventType.js, line 9

precompose

render/EventType.js, line 14

render

render/EventType.js, line 19

rendercomplete

render/EventType.js, line 24

Triggered when rendering is complete, i.e. all sources and tiles have finished loading for the current viewport, and all tiles are faded in.