A function that transform polygon to featurecollection.
1 | pol_to_ee(x, id, simplify = 500)
|
x |
polygon sf object. |
id |
the main id name in sf object. |
simplify |
number to simplify the sf polygon keeping its topology |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.