ggooglemaps_polyline {gWidgetsWWW2} | R Documentation |
A polyline is equivalent to the lines
function. The line is
specified as a data frame or matrix of latituted and longitude
pairs. The options include stroke values.
ggooglemaps_polyline(path, stroke = list(color = "#0000FF", opacity = 1, weight = 2), map, ...)
path |
a matrix or data frame of lat/lng pairs |
stroke |
A list with values for color (hex RGB), opacity a number in 0.0 to 1.0 and weight, a value for the weight of the stroke. |
map |
A ggooglemaps instance. |
... |
passed to init but ignored for now |
an instance of Ggooglemapspolyline