<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: esri leaflet base layers issues in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632838#M677</link>
    <description>&lt;P&gt;Hi Louis,&lt;/P&gt;&lt;P&gt;Thank you for the replication case. I am seeing your issue in Esri Leaflet v3.0.0. When I upgrade to the latest version, v3.0.17, your issue is resolved for me:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/govuyab/1/edit?html,output" target="_blank"&gt;https://jsbin.com/govuyab/1/edit?html,output&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you test that version and confirm that it's resolved for you too at version 3.0.17?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2025 14:15:00 GMT</pubDate>
    <dc:creator>GavinRehkemper</dc:creator>
    <dc:date>2025-07-14T14:15:00Z</dc:date>
    <item>
      <title>esri leaflet base layers issues</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1631824#M674</link>
      <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;I'm developing a web application where I use layers published on an ArcGIS server as the base layer. I'm encountering some issues with `esri-leaflet` when using TiledMapLayer and DynamicMapLayer.&lt;/P&gt;&lt;P&gt;Here are the problems I'm facing:&lt;/P&gt;&lt;P&gt;1. DynamicMapLayer: This version loads very slowly, which significantly degrades the user experience.&lt;/P&gt;&lt;P&gt;2. TiledMapLayer: With this version, I encounter an issue when changing the base layer for the second time. Specifically, the tiles from the previous layer are not completely erased, leading to a visual overlap.&lt;/P&gt;&lt;P&gt;If anyone has experience with these issues, I would greatly appreciate your input!&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import L from "leaflet";
import { tiledMapLayer, dynamicMapLayer } from "esri-leaflet";
import "leaflet/dist/leaflet.css";

document.addEventListener("DOMContentLoaded", () =&amp;gt; {
  // VERSION 1
  var topo = dynamicMapLayer({
    url: "https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_3857/MapServer",
  });

  var ortho = dynamicMapLayer({
    url: "https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Ortofoto_Svalbard_WMTS_3857/MapServer",
  });

  // VERSION 2
  // var topo = tiledMapLayer({
  //   url: "https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Basiskart_Svalbard_WMTS_3857/MapServer",
  // });

  // var ortho = tiledMapLayer({
  //   url: "https://geodata.npolar.no/arcgis/rest/services/Basisdata/NP_Ortofoto_Svalbard_WMTS_3857/MapServer",
  // });

  var baseMaps = {
    Img: ortho,
    Topo: topo,
  };

  var overlayMaps = {};

  var map = L.map("map", {
    center: [78.2, 15.6],
    zoom: 10,
    layers: [ortho],
  });

  var layerControl = L.control.layers(baseMaps, overlayMaps).addTo(map);
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 22:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1631824#M674</guid>
      <dc:creator>lpauchet</dc:creator>
      <dc:date>2025-07-09T22:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: esri leaflet base layers issues</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632530#M675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/921574"&gt;@lpauchet&lt;/a&gt;&amp;nbsp;, thank you for posting the question.&lt;/P&gt;&lt;P&gt;Can you please tell us what versions of Leaflet and Esri Leaflet you are using? I have created replication cases using the latest versions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Your &lt;U&gt;dynamicLayer&lt;/U&gt; example&lt;/STRONG&gt;:&amp;nbsp;&lt;A href="https://jsbin.com/corurum/2/edit?html,output" target="_blank"&gt;https://jsbin.com/corurum/2/edit?html,output&lt;/A&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Behavior on my computer&lt;/STRONG&gt;: As I pan around, the new tile loads in 1-2 seconds. Not amazing - that can be improved by optimizing the speed of the ArcGIS Server that is hosting this service.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Your &lt;U&gt;tiledMapLayer&lt;/U&gt; example&lt;/STRONG&gt;:&amp;nbsp;&lt;A href="https://jsbin.com/qosecuz/2/edit?html,output" target="_blank"&gt;https://jsbin.com/qosecuz/2/edit?html,output&lt;/A&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Behavior on my computer&lt;/STRONG&gt;: As I pan around, the performance is pretty good. When switch between layers I do not get any visual overlap.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Can you please tell us what versions of Leaflet and Esri Leaflet you are using, and also please test the URL on #2 above and see if you still get the issue, and if so please share detailed replication steps.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 18:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632530#M675</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2025-07-11T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: esri leaflet base layers issues</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632673#M676</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/320"&gt;@GavinRehkemper&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Here are the package version I'm using :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"dependencies"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"esri-leaflet"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"^3.0.0"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"esri-leaflet-vector"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"^4.3.0"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"leaflet"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"^1.9.4"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"leaflet.control.layers.tree"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"^1.1.1"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; }.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;The bug for the version 2 can be reproduced with the version 3.0.0 of esri leaflet (&lt;A href="https://jsbin.com/welodipusu/edit?html,output)" target="_blank" rel="noopener"&gt;https://jsbin.com/welodipusu/edit?html,output)&lt;/A&gt;. The best would be in that case to use the last version &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;.&lt;BR /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Louis&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Jul 2025 00:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632673#M676</guid>
      <dc:creator>lpauchet</dc:creator>
      <dc:date>2025-07-12T00:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: esri leaflet base layers issues</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632838#M677</link>
      <description>&lt;P&gt;Hi Louis,&lt;/P&gt;&lt;P&gt;Thank you for the replication case. I am seeing your issue in Esri Leaflet v3.0.0. When I upgrade to the latest version, v3.0.17, your issue is resolved for me:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/govuyab/1/edit?html,output" target="_blank"&gt;https://jsbin.com/govuyab/1/edit?html,output&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you test that version and confirm that it's resolved for you too at version 3.0.17?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-base-layers-issues/m-p/1632838#M677</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2025-07-14T14:15:00Z</dc:date>
    </item>
  </channel>
</rss>

