ps_bbox_ggmap: Ggmap from bbox

Description Usage Arguments Value

View source: R/basemap.R

Description

Get ggmap basemap from (padded) bbox.

Usage

1
ps_bbox_ggmap(x, source, maptype)

Arguments

x

A bbox object (or numeric vector of length 4 indicating xmin, ymin, xmax, ymax). Must be long/lat.

source

Google Maps ("google"), OpenStreetMap ("osm"), Stamen Maps ("stamen"), or CloudMade maps ("cloudmade").

maptype

Character string providing map theme. Options available are "terrain", "terrain-background", "satellite", "roadmap", and "hybrid" (google maps), "terrain", "watercolor", and "toner" (stamen maps), or a positive integer for cloudmade maps (see ?get_cloudmademap).

Value

ggmap object.


poissonconsulting/poisspatial documentation built on Oct. 5, 2018, 2:16 p.m.