Last chance! 50% off unlimited learning
Sale ends in
Options for Drawing Times on the Map
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)
A colour palette name e.g. "viridis"
Either "numeric" or "bin"
The max time to allow for
Whether to reverse the colour palette.
A number of bins or a vector of cut points (only used for the bin palette)
Whether to automatically add a legend.
A timeLegendOptions
object.
The marker radius.
Whether to draw the marker border.
Stroke width in pixels.
Stroke colour.
Stroke opacity.
Whether to fill the polygons in with colour.
The fill opacity.
A list of options governing how time markers are drawn on the map
# NOT RUN {
# show the list
timeDrawOptions()
# }
Run the code above in your browser using DataLab