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

    Front end routing with no page refresh re initiates windy object and throws console errors (two instances of map)

    Scheduled Pinned Locked Moved Windy API v4
    1 Posts 1 Posters 948 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.
    • K Offline
      Kostis90
      last edited by

      Two instances of the same map on the page are not currently allowed. That however creates an issue when dealing with front end routing, as the page does not reload. Having two instances of the map on two different pages and going back and forth between the two (without an actual page refresh) re initiates the global windy object (W) and throws console errors which stop the map from being 100% functional. Is there a workaround to this?

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