-
public final class PolylineKt
-
-
Method Summary
Modifier and Type Method Description 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. final static Unit
Polyline(List<LatLng> points, List<StyleSpan> spans, Boolean clickable, 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 that supports a StyleSpan. -
-
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
-
Polyline
@Composable() final static Unit Polyline(List<LatLng> points, List<StyleSpan> spans, Boolean clickable, 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 that supports a StyleSpan.
- Parameters:
points
- the points comprising the polylinespans
- style spans for the polylineclickable
- boolean indicating if the polyline is clickable or notendCap
- 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
-
-
-
-