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

    An API method to destroy the map instance

    Windy API v4
    2
    3
    708
    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 Windy!

      It'd be nice having a method which would gracefully stop the map and totally remove all the map related variables, i.e. would destroy the map instance. It would be of a great help for those customers who use Windy on their SinglePageApplications and are facing a problem with the map re-initialization like us, at Fishfacts BV.

      Now, calling map.remove() causes error reports in a browser console.

      Please also see the related topics:
      https://community.windy.com/topic/21968/way-to-re-init-the-map-repeatedly-calling-windyinit/4
      https://community.windy.com/topic/21973/error-by-gl-particles-js/3

      Thanks!

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

        @Kostya-Net Please see this thread - https://community.windy.com/topic/21080/api-beta-test/9?_=1662034933161

        Korina

        K 1 Reply Last reply Reply Quote 0
        • KorinaK Korina moved this topic from Your Feedback and Suggestions on
        • K
          Kostya Net @Korina
          last edited by

          @Korina thanks, but it's useless(((
          It'd be better if your team could make this work properly:
          https://community.windy.com/topic/21973/error-by-gl-particles-js/2?_=1664174146851

          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