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. More information can be found here.
object
destinationrequired
The place ID, address, or textual latitude,longitude value to which you wish to calculate directions. More information can be found here.
object
intermediates
The place ID, address, or textual latitude,longitude value to which you wish to drive through. More information can be found here.
array
mode
Specifies the mode of transport to use when calculating directions. Available modes are DRIVE, BICYCLE, WALK or TWO_WHEELER.
value DRIVE
preference
Specifies the routing preference. More information can be found here.
value TRAFFIC_UNAWARE
modifiers
Specifies the route modifiers. More information can be found here.
object
departure time
Specifies the desired time of departure for transit directions.
date
fields
Specifies the fields that should be returned in the response. Requires an array of values.
array
alternate routes
Specifies if the response should return alternate routes.
condition
language code
value
reference route
Specifies what reference routes to calculate as part of the request in addition to the default route. More information can be found here.
array
extra computations
A list of extra computations which may be used to complete the request. More information can be found here.
array
Pin Pin Type Example
flow
flow
success
condition
response
object
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 routes Return to the group to view all blocks within this group