PolylineAnnotationOptions class
Constructors
-
PolylineAnnotationOptions({required LineString geometry, LineJoin? lineJoin, double? lineSortKey, double? lineZOffset, double? lineBlur, int? lineBorderColor, double? lineBorderWidth, int? lineColor, double? lineGapWidth, double? lineOffset, double? lineOpacity, String? linePattern, double? lineWidth})
-
Properties
-
geometry
↔ LineString
-
The geometry that determines the location/shape of this annotation
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lineBlur
↔ double?
-
Blur applied to the line, in pixels.
Default value: 0. Minimum value: 0.
getter/setter pair
-
lineBorderColor
↔ int?
-
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.
Default value: "rgba(0, 0, 0, 0)".
getter/setter pair
-
lineBorderWidth
↔ double?
-
The width of the line border. A value of zero means no border.
Default value: 0. Minimum value: 0.
getter/setter pair
-
lineColor
↔ int?
-
The color with which the line will be drawn.
Default value: "#000000".
getter/setter pair
-
lineGapWidth
↔ double?
-
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
Default value: 0. Minimum value: 0.
getter/setter pair
-
lineJoin
↔ LineJoin?
-
The display of lines when joining.
Default value: "miter".
getter/setter pair
-
lineOffset
↔ double?
-
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.
Default value: 0.
getter/setter pair
-
lineOpacity
↔ double?
-
The opacity at which the line will be drawn.
Default value: 1. Value range:
0, 1
getter/setter pair
-
linePattern
↔ String?
-
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.
getter/setter pair
-
lineSortKey
↔ double?
-
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
getter/setter pair
-
lineWidth
↔ double?
-
Stroke thickness.
Default value: 1. Minimum value: 0.
getter/setter pair
-
lineZOffset
↔ double?
-
Vertical offset from ground, in meters. Defaults to 0. Not supported for globe projection at the moment.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited