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, 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.
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.