ggooglemaps_polygon {gWidgetsWWW2}R Documentation

Draw a polygon on the map

Description

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

Usage

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


[Package gWidgetsWWW2 version 0.4-8 Index]