PolygonAnnotationOptions class

Constructors

PolygonAnnotationOptions({Map<String?, Object?>? geometry, double? fillSortKey, int? fillColor, double? fillOpacity, int? fillOutlineColor, String? fillPattern})

Properties

fillColor int?
The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
getter/setter pair
fillOpacity double?
The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used.
getter/setter pair
fillOutlineColor int?
The outline color of the fill. Matches the value of fill-color if unspecified.
getter/setter pair
fillPattern String?
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height 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
fillSortKey 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
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
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) PolygonAnnotationOptions