How to keep the plugin pane open when the spot forecast is activated?

  • I was tidying up some long-standing bugs with windy-plugin-skewt this week, and I got a request from @stitch to try to keep the SkewT alive when the spot forecast opens. I see that most of the HMTL elements go to "display: none" by default; is there any way to override this behaviour and keep the plugin open?

  • Code contributor | Premium



    bcast.on("pluginOpened",e=>{if (e=="detail") });

    However, if the forecast detail is open, picker.on("pickerOpened",....) will not fire,
    so you have to perhaps use"click",e=>...) to get the e.latlng and to make your div display.

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps
Terms and Conditions     Privacy Policy