getMapRetry.centroid: Gets a google map, retries if fails.

Description Usage Arguments Value Examples

View source: R/ggmap_track.r

Description

Gets a google map, retries if fails.

Usage

1
2
## S3 method for class 'centroid'
getMapRetry(centroid, zoom, maptype)

Arguments

centroid

numeric vector A named vector with two elements (x and y)

zoom

integer

maptype

string Passed to ggmap maptype argument.

Value

a ggmap object (a classed raster object with a bounding box attribute)

Examples

1
getMapRetry(c(lon=12,lat=45),11,'Satellite')

benscarlson/bencmisc documentation built on May 20, 2019, 2:58 p.m.