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

    Satellite overlay not showing when switching back – re-init wipes custom layers

    Scheduled Pinned Locked Moved Windy API v4
    4 Posts 3 Posters 160 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.
    • B Offline
      b.rochut | Premium
      last edited by

      Hello,
      We use the Map Forecast API in a SPA. When we have the picker opened, and switch back to the Satellite overlay after another overlay, the satellite value (temperature) in the picker often doesn’t show.

      store.set('overlay', 'satellite') (with forceChange / redrawLayers) doesn’t fix it reliably.

      We use the topic 6503 workaround (save/restore window.W, clear container, call windyInit again). Satellite then displays, but the map is recreated and we lose all custom layers (markers, routes).

      Do you plan on fixing this issue ? Or could you provide an official way to switch to satellite without re-init, or document a supported way to re-init so we don’t rely on the copy_of_W hack?

      Best regards,

      SutyS ivoI 2 Replies Last reply Reply Quote 0
      • SutyS Offline
        Suty Windy Staff @b.rochut
        last edited by

        @b.rochut Hello and thank you for reporting this issue. After a discussion with colleagues, it seems to be a bug on our end and it will be fixed with the update of API library on our side.

        We appreciate your report and patience with this issue.

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          b.rochut @Suty | Premium
          last edited by

          @Suty Many thanks !

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

            @b.rochut This is BUG

            URL of a plugin codes would be nice

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