Navigation

    Windy Community

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

    Change default layer

    Developers
    4
    4
    365
    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.
    • T
      tommmmmyyy last edited by

      I and using Windy and the Leaflet API. I would the option to launch the map with a layer that shows just clouds without wind, but have not been able to find a code example.

      How is this possible and is it only possible with the paid version of Windy?

      Thank you.

      Korina 1 Reply Last reply Reply Quote 0
      • Korina
        Korina Administrator @tommmmmyyy last edited by

        @tommmmmyyy Hello, where do you please use our API? It is not possible to choose a layer as default one.

        T 1 Reply Last reply Reply Quote 0
        • T
          tommmmmyyy @Korina last edited by

          @korina Hi Korina, thanks for the response.

          I am not willing to publicly say where I am using the API and nor should I have to. May I suggest you try and find another way of figuring out whether people have the correct license for Windy's usage, and keep the community support board for the purpose of community support?

          It seems like this is a common response to questions here which I find strange. I saw after one person replying that he was using the API "locally", the admin asked for a link to the website. Hmmmm.

          On the original topic - is it not possible to specify layers in the overlay property of the options object, and will the map not load given these options?

          	const options = {
          		overlay: 'wind',
          	};
          	(window as any).windyInit(options)
                  ....
          
          Korina 1 Reply Last reply Reply Quote 0
          • Korina
            Korina Administrator @tommmmmyyy last edited by

            @tommmmmyyy Hello, this option is described in documentation, you can turn the wind particles off.

            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