Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Latest commit

 

History

History
8 lines (8 loc) · 627 Bytes

direction.md

File metadata and controls

8 lines (8 loc) · 627 Bytes

Direction Properties

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