Point Annotation
Composable function to add a PointAnnotation to the Map. For convenience, if there's no need to hoist the pointAnnotationState, use PointAnnotation(point, init)
with trailing lambda instead.
Parameters
The Point of the pointAnnotation, which represents the location of the pointAnnotation on the map.
The state holder for PointAnnotation properties.
Composable function to add a PointAnnotation to the Map.
Parameters
The Point of the pointAnnotation, which represents the location of the pointAnnotation on the map.
the lambda that will be applied to the remembered PointAnnotationState.
Deprecated
This method is deprecated, and will be removed in next major release.
Replace with
PointAnnotation(point, pointAnnotationState)
Composable function to add a PointAnnotation to the Map. For convenience, if there's no need to hoist the pointAnnotationState, use PointAnnotation(point, onClick, init)
with trailing lambda instead.
Parameters
The Point of the pointAnnotation, which represents the location of the pointAnnotation on the map.
Callback to be invoked when the PointAnnotation is clicked. The clicked PointAnnotation will be passed as parameter.
The state holder for PointAnnotation properties.
Deprecated
This method is deprecated, and will be removed in next major release.
Replace with
PointAnnotation(point, init)
Composable function to add a PointAnnotation to the Map.
Parameters
The Point of the pointAnnotation, which represents the location of the pointAnnotation on the map.
Callback to be invoked when the PointAnnotation is clicked. The clicked PointAnnotation will be passed as parameter.
the lambda that will be applied to the remembered PointAnnotationState.