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
An acmap object
A vector of opacities
A numeric vector of point opacities.
Other map point style functions:
applyPlotspec()
,
ptDrawingOrder()
,
ptStyles