add_traffic: Add Traffic

View source: R/google_map_layers.R

add_trafficR Documentation

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

## Not run: 

map_key <- 'your_api_key'
google_map(key = map_key) %>%
  add_traffic()


## End(Not run)

googleway documentation built on March 18, 2022, 7:34 p.m.