Windy Community

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

    Taking a Windy (leaflet) screenshot

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