View source: R/get_metadata_palette_viz.R
get_metadata_palette_viz | R Documentation |
helper to extract palette and min/max values when layer comes with default values. I am sure there is a way to do this GEE, but I could not find it so I made my own. Pretty sure this is also available in geemap
get_metadata_palette_viz(img, bands)
img |
image or image collection |
bands |
bands to visualize |
visParams object ready to be added to 'Map$addLayer()'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.