Methods
-
drawFeature()
render/webgl/Immediate.js, line 166 -
-
drawGeometry(geometry)
render/webgl/Immediate.js, line 130 -
Render a geometry into the canvas. Call
ol/render/webgl/Immediate#setStyle
first to set the rendering style.Name Type Description geometry
module:ol/geom/Geometry~Geometry | module:ol/render/Feature~RenderFeature The geometry to render.
-
setStyle(style)
render/webgl/Immediate.js, line 116 -
Set the rendering style. Note that since this is an immediate rendering API, any
zIndex
on the provided style will be ignored.Name Type Description style
module:ol/style/Style~Style The rendering style.