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.