timeDrawOptions.RdOptions 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 )
| 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
# show the list timeDrawOptions()#> $palette #> [1] "viridis" #> #> $type #> [1] "numeric" #> #> $maxTime #> [1] 1800 #> #> $reverse #> [1] FALSE #> #> $bins #> [1] 600 1200 #> #> $legend #> [1] TRUE #> #> $legendOptions #> $legendOptions$position #> [1] "topright" #> #> $legendOptions$title #> [1] "Travel Times" #> #> #> $radius #> [1] 10 #> #> $stroke #> [1] TRUE #> #> $weight #> [1] 3 #> #> $color #> [1] "black" #> #> $opacity #> [1] 0.5 #> #> $fill #> [1] TRUE #> #> $fillOpacity #> [1] 0.5 #>