-
public final class PolylineKt
-
-
Method Summary
Modifier and Type Method Description final static UnitPolyline(List<LatLng> points, Boolean clickable, Color color, Cap endCap, Boolean geodesic, Integer jointType, List<PatternItem> pattern, Cap startCap, Object tag, Boolean visible, Float width, Float zIndex, Function1<Polyline, Unit> onClick)A composable for a polyline on the map. -
-
Method Detail
-
Polyline
@Composable() final static Unit Polyline(List<LatLng> points, Boolean clickable, Color color, Cap endCap, Boolean geodesic, Integer jointType, List<PatternItem> pattern, Cap startCap, Object tag, Boolean visible, Float width, Float zIndex, Function1<Polyline, Unit> onClick)
A composable for a polyline on the map.
- Parameters:
points- the points comprising the polylineclickable- boolean indicating if the polyline is clickable or notcolor- the color of the polylineendCap- a cap at the end vertex of the polylinegeodesic- specifies whether to draw the polyline as a geodesicjointType- the joint type for all vertices of the polyline except the start and end verticespattern- the pattern for the polylinestartCap- the cap at the start vertex of the polylinevisible- the visibility of the polylinewidth- the width of the polyline in screen pixelszIndex- the z-index of the polylineonClick- a lambda invoked when the polyline is clicked
-
-
-
-