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

    Taking a Windy (leaflet) screenshot

    Windy API v4
    2
    2
    451
    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.
    • H
      hannahcochran
      last edited by

      I am new to Taking a Windy and 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 do not seem to have divs, is this the reason the second screenshot is missing them. Has anyone tried to work with windy API and may point out where these particles are located in the HTML file Pupilpath.

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

      KorinaK 1 Reply Last reply Reply Quote 0
      • KorinaK
        Korina @hannahcochran
        last edited by

        @hannahcochran Hello, please post smaller size images, your post is currently missing screenshots.

        Korina

        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