Polygon Annotation Group
Composable function to add a PolygonAnnotationGroup to the Map.
The PolygonAnnotationGroup is more performant than adding multiple PolygonAnnotation individually, because the PolygonAnnotationGroup is added to the map as a single layer.
PointAnnotationGroup and CircleAnnotationGroup can also be clustered based on the configuration, see AnnotationConfig.annotationSourceOptions and ClusterOptions for more details.
Parameters
List of PolygonAnnotationOptions to be added to the group.
Configuration for PolygonAnnotationCluster.
Whether or not the fill should be antialiased.
Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when lights
root property is defined. The unit of fillEmissiveStrength is in intensity.
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. The unit of fillTranslate is in density-independent pixels.
Controls the frame of reference for {@link PropertyFactory#fillTranslate}.
Callback to be invoked when one of the PolygonAnnotation in the cluster is clicked. The clicked PolygonAnnotation will be passed as parameter.