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

    Please, I need help regarding the use of windy api with an existing leaflet map.

    Scheduled Pinned Locked Moved Your Feedback and Suggestions
    2 Posts 2 Posters 786 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.
    • D Offline
      David4Real
      last edited by

      I have a map already built with leaflet. I have been able to add windy as a layer but I am unable to draw neither poly line or hotline on the windy map. Infact I don't know if its possible to access windy map from outside of the windyAPI. Also is there a method that I can use to destroy and create windy api

      1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff
        last edited by

        @David4Real Windy map should be accessible outside the init context using global object W.map. Unfortunately, there is no any method for destroying or recreating an API instance.

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