Compute a sublegend based on a legend the values available in a raster.
1 |
legend |
A Legend, which might be read from readLegend(), or also a sublegend created from this function. |
classes |
A vector of classes codes to filter the legend. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.