Class: Event

ol.render.Event

Extends

Members

context{CanvasRenderingContext2D} {null} {undefined}

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

frameState{olx.FrameState} {undefined}

An object representing the current render frame state.

glContext{ol.webgl.Context} {null} {undefined}

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

target{Object}

The event target.

type{string}

The event type.

vectorContext{ol.render.VectorContext} {undefined}

For canvas, this is an instance of ol.render.canvas.Immediate.

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.

postcompose

src/ol/render/eventtype.js, line 7

precompose

src/ol/render/eventtype.js, line 12

render

src/ol/render/eventtype.js, line 17