Create a rectangluar sf polygon from numeric extent or sf bbox.
1 | pgon_from_extent(ext)
|
ext |
Numeric extent [xmin, xmax, ymin, ymax] or an object of class bbox |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.