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

    Error by `gl-particles.js`

    Developers
    3
    6
    1.2k
    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.
    • K
      Kostya Net
      last edited by

      Hi! When trying to shut down the map executing map.remove(), the following error is being thrown multiple times:

      Screenshot 2022-09-01 at 15.50.08.png

      The error is being constantly thrown with a very short period, probably each 10ms. Only the page reload stops it.

      Thank you!

      1 Reply Last reply Reply Quote 1
      • K Kostya Net referenced this topic on
      • K
        Kostya Net
        last edited by

        Hey guys! Any reply? Should it be ever fixed?

        Without map.remove() being properly executed we cannot reinitialize the map in out SPA application. Please pay your attention to this issue.

        Screenshot 2022-09-26 at 15.16.55.png

        1 Reply Last reply Reply Quote 0
        • K Kostya Net referenced this topic on
        • K Kostya Net referenced this topic on
        • KorinaK
          Korina
          last edited by

          @Kostya-Net Hello, the available solution is to load Windy API in iframe or completely unload Windy from your website and then load it again.

          Korina

          K 1 Reply Last reply Reply Quote 0
          • K
            Kostya Net @Korina
            last edited by

            @Korina thanks, but it won't work for us since we draw markers, polylines, polygons, show popups and tooltips. I sincerely cannot understand WHY you do not want to make this simple fix.

            People pay money for their subscriptions to your service, so they can demand some features to work properly.

            1 Reply Last reply Reply Quote 0
            • K Kostya Net referenced this topic on
            • B
              blq
              last edited by

              Calling close on gl-particles fixed that error for me ```
              W["@plugins/gl-particles"].close();

              But.. I still have issues re-starting a 2nd instance after a teardown.
              K 1 Reply Last reply Reply Quote 0
              • K
                Kostya Net @blq
                last edited by

                Hello @blq !
                Thank you very much, this really works!
                Please drop a glance at our way of shutting the map down.
                https://community.windy.com/post/122063

                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 of Use     Privacy Policy