Description Usage Arguments Value Examples
Options for Drawing Times on the Map
1 2 3 4 5 | timeDrawOptions(palette = "viridis", type = "numeric",
maxTime = 1800, reverse = FALSE, bins = c(600, 1200),
legend = TRUE, legendOptions = timeLegendOptions(), radius = 10,
stroke = TRUE, weight = 3, color = "black", opacity = 0.5,
fill = TRUE, fillOpacity = 0.5)
|
palette |
A colour palette name e.g. "viridis" |
type |
Either "numeric" or "bin" |
maxTime |
The max time to allow for |
reverse |
Whether to reverse the colour palette. |
bins |
A number of bins or a vector of cut points (only used for the bin palette) |
legend |
Whether to automatically add a legend. |
legendOptions |
A |
radius |
The marker radius. |
stroke |
Whether to draw the marker border. |
weight |
Stroke width in pixels. |
color |
Stroke colour. |
opacity |
Stroke opacity. |
fill |
Whether to fill the polygons in with colour. |
fillOpacity |
The fill opacity. |
A list of options governing how time markers are drawn on the map
1 2 | # show the list
timeDrawOptions()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.