Description Usage Arguments Format Details Value Public Methods Private Methods See Also Examples
MapStamen is an object generator as R6 class. The returnd object is a map which has been downloaded from mapStamen API.
1 | MapStamen(left, bottom, right, top, mapType, Zoom)
|
left |
The lowerleft longitude of the area-box to be downloaded. |
bottom |
The lowerleft latitude of the area-box to be downloaded. |
right |
The upperright longitude of the area-box to be downloaded. |
top |
The upperright latitude of the area-box to be downloaded. |
mapType |
A string indicating the type of map("terrain", "toner",...) |
Zoom |
zoom level |
R6Class
object.
MapStamen generates an object as R6 class. The returnd object is a map which has been downloaded from mapStamen API. The object will be constructed by passing the lower left and upperright coordinates of the area of interest. Type of map and the requiered zoom can also be specified as the arguments.#'
A MapStamen class object generated by R6 class "MapStamen".
initializ(left, bottom, right, top =, mapType, Zoom)
This method will be initialized the class generator as the costructor is called. A new object will be generated.
showMap()
This method displays the downloaded map.
saveMap()
This method saves a png file in the working directory.
ClGoodday()
This method display the No. of healthy days in California in 2019.
ClModday()
This method display the No. of moderate days in California in 2019.
ClUnhealthyDay()
This method display the No. of unhealthy days in California in 2019.
getMap()
This method dowloads the map from Stamen API and will be implemented in initialize method.
http://maps.stamen.com
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.