ggooglemaps_polygon: Draw a polygon on the map

Description Usage Arguments Value

View source: R/ggooglemaps.R

Description

Draw a polygon specified as matrix of data frame of latitude/longitude values

Usage

1
2
ggooglemaps_polygon(path, stroke = list(color = "#0000FF", opacity = 1, weight
  = 2), fill = list(color = "#FF0000", opacity = 0.25), map, ...)

Arguments

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

Value

a polygon instance, but has no methods


jverzani/gWidgetsWWW2 documentation built on Feb. 9, 2020, 5:18 p.m.