PolygonAnnotationGroupState

The state holder for PolygonAnnotationGroup properties.

Constructors

Properties

Link copied to clipboard

Whether or not the fill should be antialiased.

Link copied to clipboard

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.

Link copied to clipboard

Controls the intensity of light emitted on the source features. The unit of fillEmissiveStrength is in intensity.

Link copied to clipboard

The opacity of the entire fill layer. In contrast to the {@link PropertyFactory#fillColor}, this value will also affect the 1px stroke around the fill, if the stroke is used.

Link copied to clipboard

The outline color of the fill. Matches the value of {@link PropertyFactory#fillColor} if unspecified.

Link copied to clipboard

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.

Link copied to clipboard

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

Link copied to clipboard

The geometry's offset. Values are x, y where negatives indicate left and up, respectively. The unit of fillTranslate is in density-independent pixels.

Link copied to clipboard

Controls the frame of reference for {@link PropertyFactory#fillTranslate}.