Hi, I was wondering around the documentation of the API in the developers web page (https://developers.google.com/maps/documentation/directions/intro?hl=es) and I was asking if there is way to include de traffic_model parameter in the query for the mp_directions function.
My first guess is that can be something like this before the URLencode command, but I want to be sure if it's right:
if (!is.null(traffic_model)) {
url = paste0(url, "&traffic_model =", traffic_model)
Hi, I was wondering around the documentation of the API in the developers web page (https://developers.google.com/maps/documentation/directions/intro?hl=es) and I was asking if there is way to include de traffic_model parameter in the query for the mp_directions function. My first guess is that can be something like this before the URLencode command, but I want to be sure if it's right:
Many thanks in advance.