Adds live traffic information to a googleway map object

add_traffic(map)

Arguments

map

a googleway map object created from google_map()

Examples

# NOT RUN {
map_key <- 'your_api_key'
google_map(key = map_key) %>%
  add_traffic()

# }