View source: R/ee_draw_geometry.R
ee_draw_geometry | R Documentation |
Function to draw an Earth Engine object interactively from R
ee_draw_geometry( name, import_as = "A", properties = NULL, color = "red", zoom = 5, ... )
name |
name of new object on R. |
import_as |
type of Earth Engine object. |
properties |
is a list with properties of EE object. |
color |
is a color of geometry (hexadecimal). |
zoom |
is the zoom of the visualization in the display. |
... |
optional arguments for Map object. |
import_as
"A": An Earth Engine object of type Geometry.
"B": An Earth Engine object of type Feature.
"C": An Earth Engine object of type Feature collection.
An Earth Engine object, depends of the import_as, if is of type:
"A": return a geometry.
"B": return a feature.
"C": return a feature collection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.