Uses the pipe operator (%>%) to chain statements. Useful for adding layers to a google_map

Arguments

lhs, rhs

A google map and a layer to add to it

Examples

# NOT RUN {
key <- "your_api_key"
google_map(key = key) %>%
add_traffic()

# }