Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

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

    Windy API v4
    1
    1
    354
    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
      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
      Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
      NodeBB & contributors, OSM & contributors, HERE maps
      Terms of Use     Privacy Policy