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

Arguments

map

An acmap object

value

A vector of opacities

Value

A numeric vector of point opacities.

See also

Other map point style functions: applyPlotspec(), ptDrawingOrder(), ptStyles