PolylineAnnotationState

The state holder for PolylineAnnotation properties.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard

Blur applied to the line, in density-independent pixels. The unit of lineBlur is in pixels.

Link copied to clipboard

The color of the line border. If line-border-width is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.

Link copied to clipboard

The width of the line border. A value of zero means no border.

Link copied to clipboard

The color with which the line will be drawn.

Link copied to clipboard

Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap. The unit of lineGapWidth is in density-independent pixels.

Link copied to clipboard

The display of lines when joining.

Link copied to clipboard

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset. The unit of lineOffset is in density-independent pixels.

Link copied to clipboard

The opacity at which the line will be drawn.

Link copied to clipboard

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Link copied to clipboard

Stroke thickness. The unit of lineWidth is in density-independent pixels.

Link copied to clipboard

Vertical offset from ground, in meters. Defaults to 0. Not supported for globe projection at the moment.