A style which renders arrow heads at the ends of a line string. This style cannot be applied to non-LineString geometries. When setting this on a layer with heterogeneous geometry types, use a style function.
The color of the stroke and icon styles. Setting the color will not re-apply the icons color.
Same as getStroke().getWidth() / getStroke().setWidth()
Protected
Clones the style.
The cloned style.
Get the fill style.
Fill style.
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.
Get the custom renderer function that was configured with #setHitDetectionRenderer or the hitDetectionRenderer constructor option.
hitDetectionRenderer
Custom renderer function.
Get the image style.
Image style.
Returns the style used to render primitives (a style with a circle image and the color of this style).
Get the custom renderer function that was configured with #setRenderer or the renderer constructor option.
renderer
Get the stroke style.
Stroke style.
Get the text style.
Text style.
Get the z-index for the style.
ZIndex.
Set the 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.
Sets a custom renderer function for this style used in hit detection.
Set the image style.
Sets a custom renderer function for this style. When set, fill, stroke and image options of the style will be ignored.
fill
stroke
image
Set the stroke style.
Set the text style.
Set the z-index.
A style which renders arrow heads at the ends of a line string. This style cannot be applied to non-LineString geometries. When setting this on a layer with heterogeneous geometry types, use a style function.