Learn R Programming

googleway (version 2.7.1)

add_traffic: Add Traffic

Description

Adds live traffic information to a googleway map object

Usage

add_traffic(map)

Arguments

map

a googleway map object created from google_map()

Examples

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

# }

Run the code above in your browser using DataLab