wgpolygondf {webglobe} | R Documentation |
Plot long-frame polygons
Description
Plot polygons defined by long-style data frame
Usage
wgpolygondf(df, fill = NA, alpha = 1, extrude_height = 0,
stroke = "yellow", stroke_width = 10)
Arguments
df |
Data frame to plot |
fill |
Fill colour name |
alpha |
Alpha (transparency value) |
extrude_height |
Height of the polygon above the surrounding landscape, in TODO |
stroke |
Outline colour (TODO) |
stroke_width |
Outline width (TODO) |
Value
A webglobe command
Examples
## Not run:
library(webglobe)
wg<-webglobe(immediate=TRUE)
wg+wgpolygondf(ggplot2::map_data("usa"),fill="blue",extrude_height=1000)
## End(Not run)
[Package webglobe version 1.0.3 Index]