Learn R Programming

⚠️There's a newer version (4.0.1) of this package.Take me there.

ggmap (version 2.2)

A package for spatial visualization with Google Maps and OpenStreetMap

Description

ggmap allows for the easy visualization of spatial data and models on top of Google Maps, OpenStreetMaps, Stamen Maps, or CloudMade Maps using ggplot2.

Copy Link

Version

Install

install.packages('ggmap')

Monthly Downloads

30,446

Version

2.2

License

MIT

Maintainer

David Kahle

Last Published

September 6th, 2012

Functions in ggmap (2.2)

geocodeQueryCheck

Check Google Geocoding API query limit
qmap

Quick map plot
XY2LonLat

Convert a tile coordinate to a lon/lat coordinate
routeQueryCheck

Check Google Maps Directions API query limit
ggmapplot

Don't use this function, use ggmap.
route

Grab a route from Google
mapdist

Compute map distances using Google
ggimage

Plot an image using ggplot2
ggmap

Plot a ggmap object
get_openstreetmap

Get an OpenStreetMap
LonLat2XY

Convert a lon/lat coordinate to a tile coordinate
qmplot

Quick map plot
OSM_scale_lookup

Look up OpenStreetMap scale for a given zoom level.
inset_raster

Add a raster annotation to a map
get_cloudmademap

Get a CloudMade map
legs2route

Convert a leg-structured route to a route-structured route
geom_leg

Single line segments with rounded ends
hadley

Highly unofficial ggplot2 image
wind

Wind data from Hurricane Ike
gglocator

Locator for ggplots.
theme_inset

Make a ggplot2 inset theme.
get_map

Grab a map.
get_googlemap

Get a Google Map
revgeocode

Reverse geocode
theme_nothing

Make a blank ggplot2 theme.
get_stamenmap

Get a Stamen Map
distQueryCheck

Check Google Maps Distance Matrix API query limit
inset

Add ggplot2 insets to a map
zips

Zip code data for the Greater Houston Metropolitan Area from the 2000 census
crime

Crime data
geocode

Geocode
make_bbox

Compute a bounding box