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

    Change default layer

    Scheduled Pinned Locked Moved Developers
    4 Posts 4 Posters 3.2k Views 2 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.
    • T Offline
      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.

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

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

        Korina

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          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)
                  ....
          
          KorinaK 1 Reply Last reply Reply Quote 0
          • KorinaK Offline
            Korina @tommmmmyyy
            last edited by

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

            Korina

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