[R-sig-Geo] make polygons transparent in plotKML

MacQueen, Don macqueen1 at llnl.gov
Thu Apr 18 21:19:24 CEST 2013

Just a pointer to hopefully get you started:

see ?col2rgb and look at the alpha parameter.


Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550

On 4/18/13 9:03 AM, "Seth Bigelow" <seth at swbigelow.net> wrote:

>Could anyone advise me how to make transparent polygons in plotKML? I am
>overlaying polygons in a SpatialPolygonsDataFrame object into Google
>Earth -
>Seems I can make the polygons any color (e.g., yellow - see example)
>plotKML(mySPDF, colour_scale ="#FFFF00")
>Appreciately, Seth Bigelow
>	[[alternative HTML version deleted]]
>R-sig-Geo mailing list
>R-sig-Geo at r-project.org

More information about the R-sig-Geo mailing list