Learn R Programming

googleway (version 2.7.1)

add_transit: Add transit

Description

Adds public transport information to a googleway map object

Usage

add_transit(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_transit()

# }

Run the code above in your browser using DataLab