Usage
goplaces route <query> [flags]
goplaces route "coffee" --from "Seattle, WA" --to "Portland, OR" --max-waypoints 5
Flags
--from, --to | Origin and destination address or place name. |
|---|---|
--mode | Travel mode: DRIVE, WALK, BICYCLE, TWO_WHEELER, TRANSIT. Default: DRIVE. |
--radius-m | Search radius per sampled waypoint. Default: 1000. |
--max-waypoints | Max sampled waypoints along the route. Default: 5. |
--limit | Max results per waypoint, 1-20. Default: 5. |
--language, --region | BCP-47 language and CLDR region hints. |
Requirements
Requires both Places API (New) and Routes API enabled on the key.