# NOT RUN {
google_map_directions(origin = "Google Pyrmont NSW",
destination = "QVB, Sydney", destination_place_id = "ChIJISz8NjyuEmsRFTQ9Iw7Ear8",
travel_mode = "walking")
google_map_directions(origin = "Melbourne Cricket Ground",
destination = "Flinders Street Station",
dir_action = "navigate")
google_map_directions(origin = "Melbourne Cricket Ground",
destination = "Flinders Street Station",
travel_mode = "walking",
waypoints = list("National Gallery of Victoria", c(-37.820860, 144.961894)))
google_map_directions(origin = "Paris, France",
destination = "Cherbourg, France",
travel_mode = "driving",
waypoints = list("Versailles, France", "Chartres, France", "Le Mans, France",
"Caen, France"))
google_map_directions(origin = "Paris, France",
destination = "Cherbourg, France",
travel_mode = "driving",
waypoints = list("Versailles, France", "Chartres, France", "Le Mans, France",
"Caen, France"),
waypoint_place_ids = list("ChIJdUyx15R95kcRj85ZX8H8OAU",
"ChIJKzGHdEgM5EcR_OBTT3nQoEA", "ChIJG2LvQNCI4kcRKXNoAsPi1Mc", "ChIJ06tnGbxCCkgRsfNjEQMwUsc"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab