Learn R Programming

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

ggmap (version 2.3)

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

License

MIT

Maintainer

David Kahle

Last Published

April 13th, 2013

Functions in ggmap (2.3)

get_map

Grab a map.
inset

Add ggplot2 insets to a map
ggmap

Plot a ggmap object
wind

Wind data from Hurricane Ike
OSM_scale_lookup

Look up OpenStreetMap scale for a given zoom level.
theme_nothing

Make a blank ggplot2 theme.
revgeocode

Reverse geocode
get_cloudmademap

Get a CloudMade map
get_googlemap

Get a Google Map
get_openstreetmap

Get an OpenStreetMap
mapdist

Compute map distances using Google
distQueryCheck

Check Google Maps Distance Matrix API query limit
geom_leg

Single line segments with rounded ends
gglocator

Locator for ggplots.
LonLat2XY

Convert a lon/lat coordinate to a tile coordinate
inset_raster

Add a raster annotation to a map
ggmapplot

Don't use this function, use ggmap.
qmap

Quick map plot
get_stamenmap

Get a Stamen Map
route

Grab a route from Google
routeQueryCheck

Check Google Maps Directions API query limit
geocode

Geocode
crime

Crime data
make_bbox

Compute a bounding box
hadley

Highly unofficial ggplot2 image
ggimage

Plot an image using ggplot2
legs2route

Convert a leg-structured route to a route-structured route
zips

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

Convert a tile coordinate to a lon/lat coordinate
qmplot

Quick map plot
geocodeQueryCheck

Check Google Geocoding API query limit
theme_inset

Make a ggplot2 inset theme.