Cannot set particles velocity
-
Hello Windy!
Reporting a problem I experienced with Windy API recently.On our web page we use Windy as a part of a React based SPA. We also use another map solution from a different vendor, not based on Leaflet but also driven with WebGL.
When we switch to the Currents layer provided by Windy it
-
first displays Wind for a moment (which is less serious problem than the next one) even though in the
windyInitcallback we callstore.set('overlay', 'currents'). -
in the
windyInitcallback we also set the particles animation valuesstore.set('particles', { multiplier: 1, velocity: 1, width: 1, blending: 1, opacity: 1 });.
Our expectation at this step is that the currents particles go with their default velocity, but in fact they become very slow. And this is what disturbs our customers a lot.
We tries setting other velocity values, different from
1, bigger and smaller -- no effect! We also did try to set the particles after a short timeout but that didn't work as well.Please take a look at the screen recording (a Google Drive link is below). Is there a correct solution or a work around?
https://drive.google.com/file/d/1r6EizR0s7kF6djKAXUdLF2DR88KIHxiG/view?usp=sharing
-