<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[tileLayer overlaps wind particles]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">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.</p>
<p dir="auto">I founds that in order to do that, I must add the tile layer like so :</p>
<pre><code class="language-js">L.tileLayer(
    "https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
      minZoom: 12,
      maxZoom: 17,
    }
  ).addTo(map);
</code></pre>
<p dir="auto">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.</p>
<p dir="auto">How can I force the particles to go in front of the tile layer(s) ?</p>
<p dir="auto">Here is a reproducible example : <a href="https://jsfiddle.net/kctyoe8p/" rel="nofollow ugc">https://jsfiddle.net/kctyoe8p/</a> (I created the API key just for this bug report).</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.windy.com/topic/22703/tilelayer-overlaps-wind-particles</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 06:16:07 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/22703.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Oct 2022 11:24:39 GMT</pubDate><ttl>60</ttl></channel></rss>