Skip to content

Commit 5175e43

Browse files
bill-pairaktaridisrborn
authored andcommitted
Update polyline.md (react-native-maps#2905)
Strokecolor also supports rgba
1 parent cddea67 commit 5175e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/polyline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
|---|---|---|---|
77
| `coordinates` | `Array<LatLng>` | (Required) | An array of coordinates to describe the polyline
88
| `strokeWidth` | `Number` | `1` | The stroke width to use for the path.
9-
| `strokeColor` | `String` | `#000` | The stroke color to use for the path.
9+
| `strokeColor` | `String` | `#000, rgba(r,g,b,0.5)` | The stroke color to use for the path.
1010
| `strokeColors` | `Array<String>` | `null` | The stroke colors to use for the path (iOS only). Must be the same length as `coordinates`.
1111
| `lineCap` | `String` | `round` | The line cap style to apply to the open ends of the path. Possible values are `butt`, `round` or `square`. Note: lineCap is not yet supported for GoogleMaps provider on iOS.
1212
| `lineJoin` | `String` | `round` | The line join style to apply to corners of the path. Possible values are `miter`, `round` or `bevel`.

0 commit comments

Comments
 (0)