| ptOpacity | R Documentation |
These are helper functions to quickly set the opacity of points in a map,
they set both the fill and outline color opacity by modifying the fill
and outline colors to include an alpha channel for opacity. If you need
more control, for example different opacities for the fill and outline
colors, you alter the fill and outline opacities yourself, for example
with the grDevices::adjustcolor() function.
agOpacity(map) <- value
srOpacity(map) <- value
map |
An acmap object |
value |
A vector of opacities |
A numeric vector of point opacities.
Other map point style functions:
applyPlotspec(),
ptDrawingOrder(),
ptStyles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.