Description Usage Arguments Value
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.
1 2 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.