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

    Bug in isolines

    Scheduled Pinned Locked Moved Windy API v4
    9 Posts 2 Posters 3.7k 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.
    • saaneuvosS Offline
      saaneuvos | Premium
      last edited by

      This old bug has come back. When putting "store.set('isolines', 'off');", it has no influence on the map. All others isolines are working as they should...

      1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff
        last edited by

        Could you please send me a link where it does not work? I am not able to reproduce the bug. Thanks.

        1 Reply Last reply Reply Quote 0
        • saaneuvosS Offline
          saaneuvos | Premium
          last edited by

          https://www.sääneuvos.fi/level/PrecIcon.php

          1 Reply Last reply Reply Quote 0
          • marekdM Offline
            marekd Windy Staff
            last edited by

            I see, you mean turning isolines off when app is initializing. Use store.set('isolines', 'off', { forceChange: true }) for this case. The problem is you are trying to set value which is also default value. During initializing this case is ignored. With forceChange you can rewrite the rule.

            1 Reply Last reply Reply Quote 0
            • saaneuvosS Offline
              saaneuvos | Premium
              last edited by

              @marekd said in Bug in isolines:

              store.set('isolines', 'off', { forceChange: true })

              Thanks again @marekd It's working now, but not in Edge browser?

              marekdM 1 Reply Last reply Reply Quote 0
              • marekdM Offline
                marekd Windy Staff @saaneuvos
                last edited by

                @saaneuvos You are using ES6 which is not supported by Edge.

                saaneuvosS 1 Reply Last reply Reply Quote 0
                • saaneuvosS Offline
                  saaneuvos @marekd | Premium
                  last edited by

                  @marekd Hmm, I didn't know that. This means that the current API4 also uses ES6

                  marekdM 1 Reply Last reply Reply Quote 0
                  • marekdM Offline
                    marekd Windy Staff @saaneuvos
                    last edited by

                    @saaneuvos No.

                    saaneuvosS 1 Reply Last reply Reply Quote 0
                    • saaneuvosS Offline
                      saaneuvos @marekd | Premium
                      last edited by

                      @marekd Strange, because I haven't made any changes to API code as far as I know. I mean, I have only make changes to color schema, fav layers, height, model , isolines and particles...

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