Make the legend of a plot
1 | .makeLegend(x, scaleValues, plotParams, theme)
|
x |
any spatial object to plot. |
scaleValues |
the scale values. |
plotParams |
new plotting parameters specified
via the quick options in |
theme |
the theme from which to take graphical parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.