Learn R Programming

ggmap (version 2.6.1)

ggmapplot: Don't use this function, use ggmap.

Description

ggmap plots the raster object produced by get_map.

Usage

ggmapplot(ggmap, fullpage = FALSE, base_layer, maprange = FALSE,
  expand = FALSE, ...)

Arguments

ggmap

an object of class ggmap (from function get_map)

fullpage

logical; should the map take up the entire viewport?

base_layer

a ggplot(aes(...), ...) call; see examples

maprange

logical for use with base_layer; should the map define the x and y limits?

expand

should the map extend to the edge of the panel? used with base_layer and maprange=TRUE.

...

...

Value

a ggplot object

See Also

get_map, qmap

Examples

Run this code
# NOT RUN {
this is a deprecated function, use ggmap.
# }

Run the code above in your browser using DataLab