onaci / leaflet-velocity

Visualise velocity data on a leaflet layer
https://onaci.github.io/leaflet-velocity/
Other
598 stars 213 forks source link

Opacity option not used #103

Open AugustinMortier opened 1 year ago

AugustinMortier commented 1 year ago

The opacity option does not consider the params input, in contrary to other options. leaflet-velocity.js, l491

var OPACITY = 0.97;

should be

var OPACITY = params.opacity || 0.97;