Learn R Programming

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

ggmap (version 2.4)

Spatial Visualization with Google Maps and OpenStreetMap

Description

Easily visualize of spatial data and models on top of Google Maps, OpenStreetMaps, Stamen Maps, or CloudMade Maps with ggplot2.

Copy Link

Version

Install

install.packages('ggmap')

Monthly Downloads

26,607

Version

2.4

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

David Kahle

Last Published

March 5th, 2015

Functions in ggmap (2.4)

file_drawer

Manage the ggmap file drawer.
get_map

Grab a map.
geocode

Geocode
geom_leg

Single line segments with rounded ends
get_openstreetmap

Get an OpenStreetMap
ggimage

Plot an image using ggplot2
qmap

Quick map plot
inset_raster

Add a raster annotation to a map
zips

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

Reverse geocode
hadley

Highly unofficial ggplot2 image
calc_zoom

Calculate a zoom given a bounding box
OSM_scale_lookup

Look up OpenStreetMap scale for a given zoom level.
theme_nothing

Make a blank ggplot2 theme.
crime

Crime data
mapdist

Compute map distances using Google
make_bbox

Compute a bounding box
wind

Wind data from Hurricane Ike
ggmap

Plot a ggmap object
XY2LonLat

Convert a tile coordinate to a lon/lat coordinate
get_navermap

Get a Naver Map
ggmapplot

Don't use this function, use ggmap.
route

Grab a route from Google
distQueryCheck

Check Google Maps Distance Matrix API query limit
LonLat2XY

Convert a lon/lat coordinate to a tile coordinate
get_googlemap

Get a Google Map.
inset

Add ggplot2 insets to a map
gglocator

Locator for ggplots.
get_stamenmap

Get a Stamen Map
qmplot

Quick map plot
get_cloudmademap

Get a CloudMade map.
legs2route

Convert a leg-structured route to a route-structured route
bb2bbox

Convert a bb specification to a bbox specification
routeQueryCheck

Check Google Maps Directions API query limit
theme_inset

Make a ggplot2 inset theme.