timeDrawOptions: Options for Drawing Times on the Map

Description Usage Arguments Value Examples

View source: R/times.R

Description

Options for Drawing Times on the Map

Usage

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)

Arguments

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 timeLegendOptions object.

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.

Value

A list of options governing how time markers are drawn on the map

Examples

1
2
# show the list
timeDrawOptions()

TargomoR documentation built on Dec. 7, 2019, 1:07 a.m.