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

    Taking a Windy (leaflet) screenshot

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

      Hey i wanted to ask a question regarding taking a screenshot of a div.

      I am using Windy API to display some information on my web page, i have used HTML2Canvas and dom-to-image to take a screenshot of a div.

      This is what the screenshot should look like:
      original image

      This is what I'm getting from the windy/leaflet map container div:

      dom-to-image screenshot

      As you can see, are the particles missing in the second screenshot.

      These particles are generated dynamically and does not seem to have divs, is this the reason the second screenshot is missing them. Can anyone point out where these particles are located in the html file and how to take a screenshot of them.

      I can't seem to figure out what code or file to add here, if you need any let me know.
      Thanks in advance!

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