50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

ggmap (version 1.2)

qmap: Quick map plot

Description

qmap is a wrapper for ggmapplot and ggmap.

Usage

qmap(location, ...)

Arguments

location
character; location of interest
...
stuff to pass to ggmapplot and ggmap.

Value

  • a ggplot object

See Also

ggmapplot and ggmap.

Examples

Run this code
qmap(location = 'waco')
qmap(location = 'waco', zoom = 14)
qmap(location = 'waco', zoom = 14, source = 'osm')
qmap(location = 'waco', zoom = 14, source = 'osm', scale = 20000)
qmap(location = 'waco', zoom = 14, maptype = 'satellite')
qmap(location = 'waco', zoom = 14, maptype = 'hybrid')

Run the code above in your browser using DataLab