Convert an R colour into the form 0xAARRGGBB as used by the xmapBridge
The R colour to convert
Change the colour's alpha value to the one specified
Takes one or more hex strings, possibly with an alpha value, as used by R and converts them to an integer of the form 0xAARRGGBB to be used by the xmapBridge. If alpha is specified, then change the colours' alpha values to this, otherwise leave them as they were.
Crispin J Miller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.