| getmask | R Documentation | 
These routines return the map (polygons) for drawing over a plot. Or the inversei.e. the sea becomes the inside of the polygons, e.g. to erase values over the sea.
getmap(domain=.Last.domain(), interior=TRUE, 
                   fill=FALSE, map.database="world")
getbox(domain=.Last.domain())
getmask(domain=.Last.domain(), map.database="world")
| domain | A geodomain | 
| interior | Draw interior (political) country borders. | 
| fill | Return the map as polygons, not simple lines. | 
| map.database | The map database to be used. | 
getmask depends on the sf package.
limage,vecplot
  ## Not run: 
  iview(myfield, fill=TRUE)
  plot(getmask(), col="white", border=1, add=TRUE)
  
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.