Point Annotation Group
Composable function to add a PointAnnotationGroup to the Map. For convenience, if there's no need to hoist the pointAnnotationGroupState, use PointAnnotationGroup(annotations, annotationConfig, onClick, init)
with trailing lambda instead.
The PointAnnotationGroup is more performant than adding multiple PointAnnotation individually, because the PointAnnotationGroup 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 PointAnnotationOptions to be added to the group.
Configuration for PointAnnotationGroup.
Callback to be invoked when one of the PointAnnotation in the cluster is clicked. The clicked PointAnnotation will be passed as parameter.
The state holder for PointAnnotationGroup properties.
Composable function to add a PointAnnotationGroup to the Map.
The PointAnnotationGroup is more performant than adding multiple PointAnnotation individually, because the PointAnnotationGroup 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 PointAnnotationOptions to be added to the group.
Configuration for PointAnnotationGroup.
Callback to be invoked when one of the PointAnnotation in the cluster is clicked. The clicked PointAnnotation will be passed as parameter.
the lambda that will be applied to the remembered PointAnnotationGroupState.