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

    onRedrawFinished parameters changed

    Scheduled Pinned Locked Moved Windy Plugins
    5 Posts 2 Posters 1.2k 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.
    • T Offline
      tomA27 | Premium
      last edited by

      The parameters to the onRedrawFinished event used to contain a "path" from which one could deduce the timestamp of the map that has just been drawn. In the SoarCalc plugin I use this to update and show soaring parameters corresponding to the currently displayed forecast.
      The "path" parameter is no longer there and so the plugin no longer works. Please can this either be reinstated as it was or, better, can a timestamp be provided in a more appropriately named parameter.

      rittelsR 2 Replies Last reply Reply Quote 0
      • rittelsR Offline
        rittels Code contributor @tomA27 | Premium
        last edited by

        @tomA27

        store.get('calendar').ts2path(store.get('timestamp'))
        
        T 1 Reply Last reply Reply Quote 0
        • rittelsR Offline
          rittels Code contributor @tomA27 | Premium
          last edited by

          @tomA27

          @David-Ryzec-3

          Hi Dave: store.get('path') no longer works, what is the best way to get path?

          1 Reply Last reply Reply Quote 0
          • T Offline
            tomA27 @rittels | Premium
            last edited by

            @rittels Thanks for suggestion. Do you know exactly what store.get('timestamp') returns? What I (we all?) need is the timestamp corresponding to the currently displayed forecast data definitely not the time displayed on the slider.

            rittelsR 1 Reply Last reply Reply Quote 0
            • rittelsR Offline
              rittels Code contributor @tomA27 | Premium
              last edited by

              @tomA27 the map and the detail forecast progress bar should be in sync?

              devs can help here?

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