Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Bug in isolines

    Windy API v4
    2
    9
    1754
    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.
    • saaneuvos
      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
      • marekd
        marekd Administrator 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
        • saaneuvos
          saaneuvos | Premium last edited by

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

          1 Reply Last reply Reply Quote 0
          • marekd
            marekd Administrator 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
            • saaneuvos
              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?

              marekd 1 Reply Last reply Reply Quote 0
              • marekd
                marekd Administrator @saaneuvos last edited by

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

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

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

                  marekd 1 Reply Last reply Reply Quote 0
                  • marekd
                    marekd Administrator @saaneuvos last edited by

                    @saaneuvos No.

                    saaneuvos 1 Reply Last reply Reply Quote 0
                    • saaneuvos
                      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
                      Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                      NodeBB & contributors, OSM & contributors, HERE maps
                      Terms and Conditions     Privacy Policy