RUAL Documentation

calculate route

This block is part of the google group and was last modified in core v10.4.28.

calculate route v10.4.28

Pin Pin Type Default
flow
flow
api keyrequired
Your application's API key, created within your Google Cloud Platform Console.
value
originrequired
The place ID, address, or textual latitude,longitude value from which you wish to calculate directions.
value
destinationrequired
The place ID, address, or textual latitude,longitude value to which you wish to calculate directions.
value
mode
Specifies the mode of transport to use when calculating directions. Available modes are driving, walking, bicycling or transit.
value driving
region
Specifies the region code (top-level domain) two-char. value.
value none
traffic model
Specifies the assumptions to use when calculating time in traffic. Options are best_guess, pessimistic or optimistic.
value best_guess
arrival time
Specifies the desired time of arrival for transit directions.
date none
departure time
Specifies the desired time of departure for transit directions.
date now
waypoints
Specifies an array of intermediate locations to include along the route between the origin and destination points as pass through or stopover locations. Place ids should be prefixed with place_id:, latitude,longitude can be passed directly, addresses will be mapped to latitude,longitude automatically.
Requests using more than 10 waypoints (between 11 and 25), or waypoint optimization, are billed at a higher rate.
array
Pin Pin Type Example
flow
flow
success
condition
results
array
error
value

Core Releases

v10.4.28 This block was introduced in v10.4.28, click here to see the release notes.
Back to google Return to the main group to view all sub-groups Back to google directions Return to the group to view all blocks within this group