PolylineAnnotationOptions class

Constructors

PolylineAnnotationOptions({Map<String?, Object?>? geometry, LineJoin? lineJoin, double? lineSortKey, double? lineBlur, int? lineColor, double? lineGapWidth, double? lineOffset, double? lineOpacity, String? linePattern, double? lineWidth})

Properties

geometry Map<String?, Object?>?
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.
getter/setter pair
lineColor int?
The color with which the line will be drawn.
getter/setter pair
lineGapWidth double?
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
getter/setter pair
lineJoin LineJoin?
The display of lines when joining.
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.
getter/setter pair
lineOpacity double?
The opacity at which the line will be drawn.
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.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(Object result) PolylineAnnotationOptions