Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. EnergyVue
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 1
    • Controversial 0
    • Groups 0

    EnergyVue

    @EnergyVue

    1
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    EnergyVue Unfollow Follow

    Best posts made by EnergyVue

    • Windy.com Map Broke on the Second Visit or so

      Hi

      I implemented Windy.com forecast map API in my Angular Application (Single Page App).
      I noticed today (it was working fine before) that my Windy Map is showing gray screen like below on the second visit or so. If I refresh the browser, the map will show up fine, but when I navigate to other page then come back to the page with the Map, the map doesn't load and stuck there.
      Note, there's no error in the console debug. Thank you

      83be5bfe-9a81-4ed5-ad31-a2e74378bc88-image.png

      posted in Windy API v4
      EnergyVue
      EnergyVue

    Latest posts made by EnergyVue

    • RE: API beta test

      @marekd I tested the beta=36 version,... it seems to be working now,.. But, I can't select the satellite view, I assume it's temporarily disabled ?

      posted in Windy API v4
      EnergyVue
      EnergyVue
    • RE: Windy.com Map Broke on the Second Visit or so

      @Korina FYI

      posted in Windy API v4
      EnergyVue
      EnergyVue
    • RE: Windy.com Map Broke on the Second Visit or so

      Hi Korina,
      I got below error when using the beta version you provided.
      The I visited the page (/map) containing the map first time, it loads perfectly fine..
      But when I navigate it to other page (such as: /doc) and come back to the map page, it won't load the map and noticed the error.
      Please note that I implement it in Single Page Application using Angular, in which I need to reinitialize the Windy Map everytime I load the /map route (called on ngInit).

      libBoot.js?beta=36:1  !!! Repeatedly calling "windyInit" of an already initialized API is an unsupported functionality and will be removed in future versions!
      assetgroups:1          Failed to load resource: the server responded with a status of 400 (Bad Request)
      core.js:6479 ERROR TypeError: s is not a function
          at i (libBoot.js?beta=36:1:255045)
          at a.onload [as __zone_symbol__ON_PROPERTYload] (libBoot.js?beta=36:1:254710)
          at HTMLScriptElement.wrapFn (zone.js:763:1)
          at ZoneDelegate.invokeTask (zone.js:406:1)
          at Object.onInvokeTask (core.js:28659:1)
          at ZoneDelegate.invokeTask (zone.js:405:1)
          at Zone.runTask (zone.js:178:1)
          at ZoneTask.invokeTask [as invoke] (zone.js:487:1)
          at invokeTask (zone.js:1600:1)
          at HTMLScriptElement.globalZoneAwareCallback (zone.js:1626:1)
      defaultErrorLogger @ core.js:6479
      handleError @ core.js:6527
      next @ core.js:29283
      (anonymous) @ Subscriber.js:122
      Subscriber._next @ Subscriber.js:62
      Subscriber.next @ Subscriber.js:33
      Subject.next @ Subject.js:35
      emit @ core.js:25935
      (anonymous) @ core.js:28698
      invoke @ zone.js:372
      run @ zone.js:134
      runOutsideAngular @ core.js:28571
      onHandleError @ core.js:28698
      handleError @ zone.js:376
      runTask @ zone.js:181
      invokeTask @ zone.js:487
      invokeTask @ zone.js:1600
      globalZoneAwareCallback @ zone.js:1626
      core.js:6479 ERROR TypeError: (0 , window.W.require) is not a function
          at w (libBoot.js?beta=36:1:195908)
          at timer (zone.js:2561:1)
          at ZoneDelegate.invokeTask (zone.js:406:1)
          at Object.onInvokeTask (core.js:28659:1)
          at ZoneDelegate.invokeTask (zone.js:405:1)
          at Zone.runTask (zone.js:178:1)
          at invokeTask (zone.js:487:1)
          at ZoneTask.invoke (zone.js:476:1)
          at data.args. (zone.js:2541:1)
      
      posted in Windy API v4
      EnergyVue
      EnergyVue
    • RE: Windy.com Map Broke on the Second Visit or so

      Hi @korina, the site/url is currently not available externally for some times... I'll provide you the detail once it comes back.

      posted in Windy API v4
      EnergyVue
      EnergyVue
    • RE: Windy.com Map Broke on the Second Visit or so

      Hi @korina, we use the paid version. However, today I noticed the issue disappeared, and the satellite option is also gone, so I assume the API was reverted ?

      posted in Windy API v4
      EnergyVue
      EnergyVue
    • Windy.com Map Broke on the Second Visit or so

      Hi

      I implemented Windy.com forecast map API in my Angular Application (Single Page App).
      I noticed today (it was working fine before) that my Windy Map is showing gray screen like below on the second visit or so. If I refresh the browser, the map will show up fine, but when I navigate to other page then come back to the page with the Map, the map doesn't load and stuck there.
      Note, there's no error in the console debug. Thank you

      83be5bfe-9a81-4ed5-ad31-a2e74378bc88-image.png

      posted in Windy API v4
      EnergyVue
      EnergyVue