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