mapdeck_palette | R Documentation |
This funciton will create the color matrix required to a use a custom palette while using mapdeck.
mapdeck_palette(palette = "logo", reverse = FALSE, alpha = 256)
palette |
A string representing a color palette, see https://bfroebrpg.github.io/rpgcolorsr_pages/ for a full list of palettes |
reverse |
When true the default order of the color palette is reversed |
alpha |
sets the alpha for the colors, must be int between 1 and 256. 1 is transparent and 256 is solid. |
a color matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.