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

    Errors from Lib.js - Started 1st August 2022

    Scheduled Pinned Locked Moved Developers
    5 Posts 4 Posters 1.6k Views 2 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.
    • C Offline
      CompassDSNM
      last edited by

      Hi Windy,

      We first noticed we were getting errors from lib.js this morning, errors shown in Chome Dev Console:

      Screenshot 2022-08-01 104605.png Screenshot 2022-08-01 105634.png Screenshot 2022-08-01 105657.png

      Can you please investigate this?

      Let me know if you need any more information. We were not getting these errors last week.

      Euan

      Tomáš Nesrovnal 5T 1 Reply Last reply Reply Quote 0
      • Tomáš Nesrovnal 5T Offline
        Tomáš Nesrovnal 5 @CompassDSNM | Premium
        last edited by

        Hi @CompassDSNM ,
        sorry for the issue, we will look into this.

        Can you please specify, how and what parameters are you setting up? It looks like the problem is with product and overlay.

        If you don't want to enclose details here, write us an email to support@windy.com

        Thanks,
        Tomas

        petegregP 1 Reply Last reply Reply Quote 0
        • petegregP Offline
          petegreg @Tomáš Nesrovnal 5
          last edited by

          @tomáš-nesrovnal-5

          Hi I'm also getting errors starting from the new libBoot version 36.0.0.

          Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'maxZoom')
          at windy.js:182:24
          at libBoot.js:1:259144

          windy.js 182

          W.map.options.maxZoom = 18;
          

          Thanks
          Pete

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

            @petegreg Sorry for the trouble. Please, use map object returned into API init callback (example: https://api.windy.com/map-forecast/examples/hello-world). As it stands in the documentation https://api.windy.com/map-forecast/docs

            Do not use features not listed here as we cannot guarantee that they will be available in other versions of Map Forecast API.

            For hotfix use W.map.map instead of W.map, but it does not solve the issue for next possible releases. The only safe solution is to use only a documented methods and objects from callback.

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

              @marekd Thanks for the help. All good now!

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