Learn R Programming

leaflet.extras2 (version 1.0.0)

playbackOptions: playbackOptions

Description

A list options for addPlayback. For a full list please visit the plugin repository.

Usage

playbackOptions(
  color = "blue",
  radius = 5,
  tickLen = 250,
  speed = 1,
  maxInterpolationTime = 5 * 60 * 1000,
  tracksLayer = TRUE,
  playControl = TRUE,
  dateControl = TRUE,
  sliderControl = TRUE,
  staleTime = 60 * 60 * 1000,
  ...
)

Arguments

color

colors of the CircleMarkers.

radius

a numeric value for the radius of the CircleMarkers.

tickLen

Set tick length in milliseconds. Increasing this value, may improve performance, at the cost of animation smoothness. Default is 250

speed

Set float multiplier for default animation speed. Default is 1

maxInterpolationTime

Set max interpolation time in seconds. Default is 5*60*1000 (5 minutes).

tracksLayer

Set TRUE if you want to show layer control on the map. Default is TRUE

playControl

Set TRUE if play button is needed. Default is TRUE

dateControl

Set TRUE if date label is needed. Default is TRUE

sliderControl

Set TRUE if slider control is needed. Default is TRUE

staleTime

Set time before a track is considered stale and faded out. Default is 60*60*1000 (1 hour)

...

Further arguments passed to `L.Playback`

Value

A list of options for addPlayback

References

https://github.com/hallahan/LeafletPlayback

See Also

Other Playback Functions: addPlayback(), removePlayback()