ggooglemaps_polygon {gWidgetsWWW2} | R Documentation |
Draw a polygon specified as matrix of data frame of latitude/longitude values
ggooglemaps_polygon(path, stroke = list(color = "#0000FF", opacity = 1, weight = 2), fill = list(color = "#FF0000", opacity = 0.25), map, ...)
path |
path of polygon as matrix or data frame of points |
stroke |
list of stroke parameters (color, opacity, weight) |
fill |
list of fill parameters (color, opacity) |
map |
ggooglemaps object |
... |
ignored |
a polygon instance, but has no methods