Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alternatives argument not used #144

Closed
SymbolixAU opened this issue Mar 5, 2018 · 1 comment
Closed

alternatives argument not used #144

SymbolixAU opened this issue Mar 5, 2018 · 1 comment
Labels

Comments

@SymbolixAU
Copy link
Collaborator

No description provided.

@SymbolixAU SymbolixAU self-assigned this Mar 5, 2018
@SymbolixAU SymbolixAU added the bug label Mar 5, 2018
SymbolixAU pushed a commit that referenced this issue Mar 5, 2018
@SymbolixAU
Copy link
Collaborator Author

SymbolixAU commented Mar 5, 2018

now works

library(googleway)

set_key("api_key")

df <- google_directions(origin = "Melbourne Airport, Australia",
                        destination = "Portsea, Melbourne, Australia",
                        mode = "driving",
                        alternatives = TRUE)


df_routes <- data.frame(polyline = direction_polyline(df)) 

set_key("map_key", api = "map")

google_map() %>%
  add_polylines(data = df_routes, polyline = "polyline")


@SymbolixAU SymbolixAU removed their assignment Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants