google_map_url.Rd
Opens a Google Map in a browser
google_map_url(center = NULL, zoom = 15, basemap = c("roadmap", "satellite", "terrain"), layer = c("none", "transit", "traffic", "bicycling"))
center | vector of lat/lon coordinates which defines the centre of the map window |
---|---|
zoom | number that sets the zoom level of the map (from 0 to 21) |
basemap | defines the typ eof map to display. |
layer | defines an extra layer to display on the map, if any. |
# NOT RUN { google_map_url() google_map_url(center = c(-37.817727, 144.968246)) google_map_url(center = c(-37.817727, 144.968246), zoom = 5) google_map_url(center = c(-37.817727, 144.968246), basemap = "terrain") google_map_url(center = c(-37.817727, 144.968246), layer = "traffic") # }