Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Cannot set particles velocity

    Scheduled Pinned Locked Moved Windy API v4
    1 Posts 1 Posters 110 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      Kostya Net
      last edited by

      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

      1. first displays Wind for a moment (which is less serious problem than the next one) even though in the windyInit callback we call store.set('overlay', 'currents').

      2. in the windyInit callback we also set the particles animation values store.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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Windy Community  |  Powered by excellent NodeBB
      Terms of Use     Privacy Policy     Windy.com