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 Aug. 22, 2023, 9:13 a.m.