powered by
Constructs the JSON part of the request body containing routing parameters for the Azure Maps Route Directions API.
POSTbody_builder_directions_json(params, tz)
A list of routing parameters, with values formatted and unboxed as required for the JSON request.
A list of routing parameters, such as travelMode, routeType, departAt, etc.
travelMode
routeType
departAt
A string specifying the timezone for any date-time parameters.
if (FALSE) { params <- list( travelMode = "car", routeType = "fastest" ) json_part <- POSTbody_builder_directions_json(params, "UTC") }
Run the code above in your browser using DataLab