getMultiRegion | R Documentation |
Helps to plot the shape of multiple regions.
getMultiRegion(name = NULL, id = NULL)
name |
vector of the name of the regions to plot. The notation should be respected.To get the notation execute: regions() |
id |
vector of regions id.Each region has an id. To get the id of each region please execute : regions() |
return a sf object
## Not run: #Plot two regions :Casablanca-Settat and Laayoune-Sakia-El-Hamra regions=getMultiRegion(c("Eddakhla-Oued-Eddahab","Laayoune-Sakia-El-Hamra")) plot(regions$coordinates) #Plot the map of Morocco mar=getMultiRegion(id=1:12) plot(mar$coordinates) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.