View source: R/google_map_layers.R
add_traffic | R Documentation |
Adds live traffic information to a googleway map object
add_traffic(map)
map |
a googleway map object created from |
## Not run:
map_key <- 'your_api_key'
google_map(key = map_key) %>%
add_traffic()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.