Windy Community

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

    how to integrate windy api in GIS cloud layer?

    Windy API v4
    1
    2
    242
    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
      kaleshazoom last edited by

      We are trying to integrate the WINDY api into GIS cloud layer, and we are successfully able to load the windy as separate map, but unable to load windy map inside GIS cloud api. Need support on this. Attached screenshot for our reference.Windy_issue.PNG

      K 1 Reply Last reply Reply Quote 0
      • K
        kaleshazoom @kaleshazoom last edited by

        @kaleshazoom Tried the below code to integrate this map as a layer to GIS cloud map. Still no luck.
        function addwindylayer(layer,windymap) {
        $("#small_map").click(function() {
        const options ={
        key:'windy key',
        model:"gfs",
        layer:"temperature",
        zoom:18
        };
        windyInit(options, windyAPI =>{
        const {map} = windyAPI
        layer.addTo(windymap);
        windymap.options.maxZoom = 18;});
        });
        }

        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