worldMap | R Documentation |
Retrieve the map of the countries
worldMap(
crs = "+proj=moll +units=km",
scale = "medium",
returnclass = c("sf", "sv")
)
crs |
a string with the projection. Default is the Mollweide projection with units in kilometers. |
scale |
The scale of map to return. Please see the help of 'ne_countries' function from the 'rnaturalearth' package. |
returnclass |
A string determining the class of the spatial object to return. Please see the help of 'ne_countries' function from the 'rnaturalearth' package. |
The land and ocean maps are obtained with the 'rnaturalearth' package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.