Adds a BloomEffect to the complex stroked line.
Bloom is only supported on WebGL maps.
The decorations to be painted along the line.
A decoration is a Pattern that is painted once at a specific position along the line.
This property is optional. If it is omitted, no decorations will be painted along the line.
The threshold that is used to determine if angles are sharp or not. It is interpreted as an angle in degrees between two line segments. In the context of complex stroking, sharp corners are handled differently than non-sharp corners.
In general, a non-sharp corner is handled as if there were no corner at all. This means that any stroke can just be painted along the corner. As a side-effect, strokes may be deformed. This deformation will be small for corners that are close to 180 degrees wide, meaning for line segments that are almost parallel. The deformation can become quite large for sharper corners though, so take care when you adjust this value.
On the other hand, when a corner is considered sharp, strokes will not be deformed, but they may be dropped instead.
This setting is useful when complex strokes use a uniform shape and color, for example. When you are painting an airspace border using a rectangular stroke along the length of the line, you can set the threshold to 0, for instance.
The value should always be in the
[0, 180] degrees range.
The default value is
Note that this setting is only supported on a WebGLMap. On a non-WebGLMap, this threshold is ignored.
Determines the interpretation of units for style properties that express sizes. Supported UnitOfMeasures are:
UnitOfMeasure of type QuantityKindRegistry.getQuantityKind("Length"), for example UnitOfMeasureRegistry.getUnitOfMeasure("Meter")
The unit of measure applies to the
size properties of the pattern and decorations.
uom determines the interpretation of the values as pixels or as a ground unit that represents
the actual size of real-world objects, like for example meter or foot.
uom property is only supported on geographically referenced maps.
Maps configured with cartesian reference do
LineStyles with a
The property is optional and the default value is the Pixel unit.
Limitation: complex strokes with a world size will be missing certain pattern aspects when used on a non-WebGL map.