Description Usage Arguments Examples
Plot simple feature polygons on a sphere. Use ps_globe() first to plot the polygons on the globe
1 | ps_polygons(sf_polygons, color = "black", alpha = 1, ...)
|
sf_polygons |
simple feature polygons or mutli-polygons |
color |
set color of the point(s) |
alpha |
set transparency of the point(s) 0 = transparent 1 = non-transparent |
... |
more parameters of rgl::material3d() |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.