| Prop | Type | Default | Note |
|---|---|---|---|
| origin | LatLng | null | Latitude and longitude of the starting point. If null, it uses current user location |
| destination | LatLng | Latitude and longitude of the destination point | |
| travelMode | String | "driving" | Travel method. Can be "driving", "walking", "transit" or "bicycling" |
| strokeColor | String | "black" | Color of the polyline |
| strokeWidth | Integer | 3 | Width of the polyline in pixels |
This repository was archived by the owner on Mar 1, 2024. It is now read-only.