Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. Kurun
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 2

    Kurun

    @Kurun

    Mariners - Seafarers

    0
    Reputation
    64
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website sail.cloud Location La Rochelle, France

    Kurun Unfollow Follow
    Mariners - Seafarers Sailor

    Latest posts made by Kurun

    • tileLayer overlaps wind particles

      Hi,

      I want to use the windy API as on the windy website, where when zooming more than level 12, the map background layer becomes open street map.

      I founds that in order to do that, I must add the tile layer like so :

      L.tileLayer(
          "https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
            minZoom: 12,
            maxZoom: 17,
          }
        ).addTo(map);
      

      However when doing so and zooming, I cannot see any particles... I changed to another map background that is mostly transparent (https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lines/{z}/{x}/{y}.png) and then I could see that the particles are in fact behind the newly added tile layer.

      How can I force the particles to go in front of the tile layer(s) ?

      Here is a reproducible example : https://jsfiddle.net/kctyoe8p/ (I created the API key just for this bug report).

      Thanks.

      posted in Windy Plugins
      Kurun
      Kurun