Learn R Programming

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

ggmap (version 2.1)

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.1

License

MIT

Maintainer

David Kahle

Last Published

April 30th, 2012

Functions in ggmap (2.1)

get_cloudmademap

Get a CloudMade map
wind

Wind data from Hurricane Ike
revgeocode

Reverse geocode
theme_nothing

Make a blank ggplot2 theme.
get_googlemap

Get a Google Map
ggmap

Plot a ggmap object
ggimage

Plot an image using ggplot2
distQueryCheck

Check Google Maps Distance Matrix API query limit
gglocator

Locator for ggplots.
mapdist

Compute map distances using Google
LonLat2XY

Convert a lon/lat coordinate to a tile coordinate
get_openstreetmap

Get an OpenStreetMap
qmap

Quick map plot
ggmapplot

Don't use this function, use ggmap.
geom_leg

Single line segments with rounded ends
make_bbox

Compute a bounding box
crime

Crime data
get_map

Grab a map.
routeQueryCheck

Check Google Maps Directions API query limit
geocode

Geocode
qmplot

Quick map plot
theme_inset

Make a ggplot2 inset theme.
hadley

Highly unofficial ggplot2 image
zips

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

Add ggplot2 insets to a map
OSM_scale_lookup

Look up OpenStreetMap scale for a given zoom level.
route

Grab a route from Google
legs2route

Convert a leg-structured route to a route-structured route
get_stamenmap

Get a Stamen Map
XY2LonLat

Convert a tile coordinate to a lon/lat coordinate
inset_raster

Add a raster annotation to a map
geocodeQueryCheck

Check Google Geocoding API query limit