velocityOptions {leaflet.extras2} | R Documentation |
velocityOptions
Description
Define further options for the velocity layer.
Usage
velocityOptions(
speedUnit = c("m/s", "k/h", "kt"),
minVelocity = 0,
maxVelocity = 10,
velocityScale = 0.005,
colorScale = NULL,
...
)
Arguments
speedUnit |
Could be 'm/s' for meter per second, 'k/h' for kilometer per hour or 'kt' for knots |
minVelocity |
velocity at which particle intensity is minimum |
maxVelocity |
velocity at which particle intensity is maximum |
velocityScale |
scale for wind velocity |
colorScale |
A vector of hex colors or an RGB matrix |
... |
Further arguments passed to the Velocity layer and Windy.js. For more information, please visit leaflet-velocity plugin |
Value
A list of further options for addVelocity
See Also
Other Velocity Functions:
addVelocity()
,
removeVelocity()
,
setOptionsVelocity()
[Package leaflet.extras2 version 1.2.2 Index]