Description Usage Arguments Value Author(s) See Also Examples
get_cloudmademap accesses a tile server for Stamen Maps
and downloads/stiches map tiles/formats a map image. This
function requires an api key which can be obtained for free from
http://cloudmade.com/user/show (defunct?). Thousands of maptypes
("styles"), including create-your-own options, are available from
http://maps.cloudmade.com/editor (defunct).
1 2 3 4  | 
bbox | 
 a bounding box in the format c(lowerleftlon, lowerleftlat, upperrightlon, upperrightlat).  | 
zoom | 
 a zoom level  | 
api_key | 
 character string containing cloud made api key, see details  | 
maptype | 
 an integer of what cloud made calls style, see details  | 
highres | 
 double resolution  | 
crop | 
 crop raw map tiles to specified bounding box  | 
messaging | 
 turn messaging on/off  | 
urlonly | 
 return url only  | 
filename | 
 destination file for download (file extension added according to format)  | 
color | 
 color or black-and-white  | 
... | 
 ...  | 
a ggmap object (a classed raster object with a bounding box attribute)
David Kahle david.kahle@gmail.com
http://maps.cloudmade.com/ (defunct),
ggmap
1 2 3 4 5 6 7 8 9 10 11  | ## Not run:  # in what follows, enter your own api key
api_key <- '<your api key here>'
map <- get_cloudmademap(api_key = api_key)
ggmap(map)
map <- get_cloudmademap(maptype = 997, api_key = api_key)
ggmap(map)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.