Trigger event on forecast bar change
-
Is it possible and how to trigger event which returns timestamp when forecast animation is playing or when you click on part of it in the forecast bar?
I would like to use the timestamp to fetch some of my own data which I can use while the animation plays.
-
https://api4.windy.com/examples/bcast/
redrawFinished & paramsChanged?
-
Ok so redrawFinished will be called every time the forecast changes? How do I get back the object with the timestamp then?
-
store.get('timestamp');
To see all stored value names:
console.log(W.store.getAll()); -
@siim perfect this works yes. Thank you!
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps