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

    Windy API v4 is here. Help us to test it

    Scheduled Pinned Locked Moved Windy API v4
    25 Posts 15 Posters 22.2k Views 4 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.
    • R Offline
      ryanshores
      last edited by

      I seem to be getting "store Invalid value for product" on a lot of the overlays. Is there something to fix this or just wait for it to be fixes?

      1 Reply Last reply Reply Quote 0
      • G Offline
        garybrucey
        last edited by

        This works great for showing a map at a specific lat/long and letting the user move around the map and change options. Works on mobile too!

        1 Reply Last reply Reply Quote 0
        • wbcrcW Offline
          wbcrc
          last edited by

          Thanks for the v4 api, the picker isn't displaying any data on android chrome/68.0.3440.91
          plus it would be nice to zoom more than 11, not sure if that's intentional or not though I understand that it can put a lot of load on a tile server., If that's the case
          perhaps you could add an option to check the hosts tile cache. so fetching a tile would be browser cache -> host cache -> windy. or can I do that via leaflet?

          1 Reply Last reply Reply Quote 0
          • X Offline
            xyw101
            last edited by

            I tried the api v4.0 it doesn't seem to work on IE11 even I changed the arrow function. Also, is 'SST' (sea temperature) only workking under 'ecmwf'?

            ivoI 1 Reply Last reply Reply Quote 0
            • ivoI Offline
              ivo Windy Staff @xyw101
              last edited by

              @xyw101 use Promise polyfill it will work

              1 Reply Last reply Reply Quote 0
              • petegregP Offline
                petegreg
                last edited by

                Hi, Is the ConextMenu available in api 4? Its really useful to have the Distance & Planning tool.

                1 Reply Last reply Reply Quote 0
                • lrlssL Offline
                  lrlss @Тарантога
                  last edited by

                  @тарантога me too

                  The sun shines into the darkness,the wings can fly

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

                    @ivo I'm intrested to purchase API4. I'm not a programmer and I have very poor skill to code. So I'm asking if I purchase API4, can I get my old API3 scripts to myself?

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xyw101
                      last edited by

                      @Ivo Thanks. How can I use 'sst' overlay? Is it only available under 'ecmwf'? Because I can set it on your main site, but I cannot set it in the examples (using chromes console). I can see "sst" in the allowed list but it returns Uncaught (in promise) undefined when I try to set it

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        antonms
                        last edited by

                        Hi there!
                        Looks like I found a bug: when you click on city there's no close button for info block (red circle with white cross). It's not present on your main site.
                        Thanks

                        idefix37I 1 Reply Last reply Reply Quote 0
                        • idefix37I Online
                          idefix37 Sailor Moderator @antonms
                          last edited by idefix37

                          @antonms
                          Your comment about this bug is not clear.
                          Could you post a screenshot?

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            antonms
                            last edited by

                            You can test it by placing your iframe with default settings.

                            • It's not a big problem for bigger screens:
                              windy-01.jpg

                            • But it confuses users on small sizes. Map height becomes too short:
                              windy-02.jpg

                            Thanks for fast feedback!

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              antonms @idefix37
                              last edited by

                              @idefix37

                              Oh, sorry. I placed my comment in wrong place but can't delete it

                              @antonms said in Windy API v4 is here. Help us to test it:

                              You can test it by placing your iframe with default settings.

                              • It's not a big problem for bigger screens:
                                windy-01.jpg

                              • But it confuses users on small sizes. Map height becomes too short:
                                windy-02.jpg

                              Thanks for fast feedback!

                              KorinaK 1 Reply Last reply Reply Quote 0
                              • KorinaK Offline
                                Korina @antonms
                                last edited by

                                @antonms Hello, if I go to Windy.com on desktop or mobile device, I can see the close button. Your display resolution may cause some problems.

                                Korina

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  antonms @Korina
                                  last edited by

                                  @Korina
                                  No, I've tried a lot of different variations but it's not visible. This bug is on <iframe> only!
                                  I placed default code from windy.com on jsbin:
                                  https://jsbin.com/nilazavive/edit?html,output
                                  Please see

                                  KorinaK 1 Reply Last reply Reply Quote 0
                                  • KorinaK Offline
                                    Korina @antonms
                                    last edited by

                                    @antonms Hello, are you referring to embed?
                                    With embed you can choose, whether you want include spot forecast or not, if yes, there will not be any close button.

                                    Where do you want to use the embed?

                                    Screenshot 2020-08-05 at 08.33.42.png

                                    Korina

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      antonms @Korina
                                      last edited by

                                      @Korina
                                      It's just a weather widget on my site.
                                      Even if you click on city with disabled forecast, you will see that close button is hidden
                                      windy-03.jpg

                                      KorinaK 1 Reply Last reply Reply Quote 0
                                      • KorinaK Offline
                                        Korina @antonms
                                        last edited by

                                        @antonms Hello, if you do not have option 'include spot forecast' turned on, you cannot display spot forecast. The missing button is intentional.

                                        Korina

                                        A 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          antonms @Korina
                                          last edited by

                                          @Korina
                                          Oh, I see. What is the name of this 'include spot forecast' parameter?

                                          KorinaK 1 Reply Last reply Reply Quote 0
                                          • KorinaK Offline
                                            Korina @antonms
                                            last edited by

                                            @antonms The modification of our embed is not approved, since it is intended to be used only by media.

                                            Korina

                                            1 Reply Last reply Reply Quote 0
                                            • marekdM marekd unpinned this topic on
                                            • First post
                                              Last post
                                            Windy Community  |  Powered by excellent NodeBB
                                            Terms of Use     Privacy Policy     Windy.com