POSTbody_builder_directions_json | R Documentation |
Constructs the JSON part of the request body containing routing parameters for the Azure Maps Route Directions API.
POSTbody_builder_directions_json(params, tz)
params |
A list of routing parameters, such as |
tz |
A string specifying the timezone for any date-time parameters. |
A list of routing parameters, with values formatted and unboxed as required for the JSON request.
## Not run:
params <- list(
travelMode = "car",
routeType = "fastest"
)
json_part <- POSTbody_builder_directions_json(params, "UTC")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.