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