Optional
opt_options: StyleOptionsStyle options.
Container for vector feature rendering styles. Any changes made to the style
or its children through set*()
methods will not take effect until the
feature or layer that uses the style is re-rendered.
Get the geometry to be rendered.
Feature property or geometry or function that returns the geometry that will be rendered with this style.
Get the function used to generate a geometry for rendering.
Function that is called with a feature and returns the geometry to render instead of the feature's geometry.
Set the fill style.
Fill style.
Set a geometry that is rendered instead of the feature's geometry.
Feature property or geometry or function returning a geometry to render for this style.
Set the stroke style.
Stroke style.
Set the text style.
Text style.
Generated using TypeDoc
Classdesc
Container for vector feature rendering styles. Any changes made to the style or its children through
set*()
methods will not take effect until the feature or layer that uses the style is re-rendered.Struct
Param: opt_options
Style options.
Api