qmap {ggmap} | R Documentation |
qmap is a wrapper for ggmap
and
get_map
.
qmap(location = "houston", ...)
location |
character; location of interest |
... |
a ggplot object
David Kahle david.kahle@gmail.com
## Not run: some requires Google API key; heavy network/time load
location <- "marrs mclean science, waco, texas"
qmap(location)
qmap(location, zoom = 14)
qmap(location, zoom = 14, source = "osm")
qmap(location, zoom = 14, source = "osm", scale = 20000)
qmap(location, zoom = 14, maptype = "satellite")
qmap(location, zoom = 14, maptype = "hybrid")
qmap(location, zoom = 14, maptype = "toner", source = "stamen")
qmap(location, zoom = 14, maptype = "watercolor", source = "stamen")
qmap(location, zoom = 14, maptype = "terrain-background", source = "stamen")
qmap(location, zoom = 14, maptype = "toner-lite", source = "stamen")
where <- "the white house, washington dc"
wh <- geocode(where)
qmap(where, maprange = TRUE, zoom = 15,
base_layer = ggplot(aes(x=lon, y=lat), data = wh)) +
geom_point()
## End(Not run)