Extends
Methods
-
Render a circle geometry into the canvas. Rendering is immediate and uses the current fill and stroke styles.
Name Type Description geometrymodule:ol/geom/Circle~Circle Circle geometry.
-
Render a feature into the canvas. Note that any
zIndexon the provided style will be ignored - features are rendered immediately in the order that this method is called. If you needzIndexsupport, you should be using anVectorLayerinstead.Name Type Description featuremodule:ol/Feature~Feature Feature.
stylemodule:ol/style/Style~Style Style.
-
Render a geometry into the canvas. Call
renderer.setStyle()first to set the rendering style.Name Type Description geometrymodule:ol/geom/Geometry~Geometry | module:ol/render/Feature~RenderFeature The geometry to render.
-
Set the rendering style. Note that since this is an immediate rendering API, any
zIndexon the provided style will be ignored.Name Type Description stylemodule:ol/style/Style~Style The rendering style.
OpenLayers