Define further options for the velocity layer.
velocityOptions(
speedUnit = c("m/s", "k/h", "kt"),
minVelocity = 0,
maxVelocity = 10,
velocityScale = 0.005,
colorScale = NULL,
...
)
A list of further options for addVelocity
Could be 'm/s' for meter per second, 'k/h' for kilometer per hour or 'kt' for knots
velocity at which particle intensity is minimum
velocity at which particle intensity is maximum
scale for wind velocity
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
Other Velocity Functions:
addVelocity()
,
removeVelocity()
,
setOptionsVelocity()