<?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 Issue with WMTS source in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/issue-with-wmts-source/m-p/1223126#M21</link>
    <description>&lt;P&gt;I am building a web application in Leaflet and am having trouble loading up a WMTS source. With the Leaflet/ESRI plugin, I am able to load the source via '&lt;SPAN class=""&gt; L.esri .dynamicMapLayer' but not with 'L.esri .tiledMapLayer'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The problem with&amp;nbsp;&lt;SPAN class=""&gt; L.esri .dynamicMapLayer is that there is an issue when a user rotates the map (using Leaflet Rotate plugin). Tiles do no render correctly. I do understand that Leaflet/ESRI does not support map rotation but it seems like to me that 'L.esri .tiledMapLayer' works fine with map rotation from the quick testing that I have done.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Below is the MapServer URL and how I am trying to embed the source into Leaflet.&lt;/P&gt;
&lt;P&gt;var ottertailcountyImagery = L.esri.tiledMapLayer({&lt;BR /&gt;maxZoom: 28,&lt;BR /&gt;url: "&lt;A href="https://web2.co.ottertail.mn.us/arcgis/rest/services/Photography/2021_Photo/MapServer" target="_blank" rel="noopener"&gt;https://web2.co.ottertail.mn.us/arcgis/rest/services/Photography/2021_Photo/MapServer&lt;/A&gt;"&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;Before using the Leaflet/ESRI plugin, I tried converting the WMTS source to an XYZ Tile Layer but was unsuccessful. There seemed to have been an issue with the server when &lt;/FONT&gt;retrieving&lt;FONT face="inherit"&gt;&amp;nbsp;the tiles from an XYZ Tile Layer format.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Any ideas on how to get the imagery source to load up in Leaflet other than using '&lt;SPAN class=""&gt;L.esri .dynamicMapLayer'? I am not glued to using the ESRI/Leaflet plugin but am more so looking for a way to get this imagery source running while still maintaining map rotation.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 19:52:32 GMT</pubDate>
    <dc:creator>JohnSalzbrunn</dc:creator>
    <dc:date>2023-08-25T19:52:32Z</dc:date>
    <item>
      <title>Issue with WMTS source</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/issue-with-wmts-source/m-p/1223126#M21</link>
      <description>&lt;P&gt;I am building a web application in Leaflet and am having trouble loading up a WMTS source. With the Leaflet/ESRI plugin, I am able to load the source via '&lt;SPAN class=""&gt; L.esri .dynamicMapLayer' but not with 'L.esri .tiledMapLayer'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The problem with&amp;nbsp;&lt;SPAN class=""&gt; L.esri .dynamicMapLayer is that there is an issue when a user rotates the map (using Leaflet Rotate plugin). Tiles do no render correctly. I do understand that Leaflet/ESRI does not support map rotation but it seems like to me that 'L.esri .tiledMapLayer' works fine with map rotation from the quick testing that I have done.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Below is the MapServer URL and how I am trying to embed the source into Leaflet.&lt;/P&gt;
&lt;P&gt;var ottertailcountyImagery = L.esri.tiledMapLayer({&lt;BR /&gt;maxZoom: 28,&lt;BR /&gt;url: "&lt;A href="https://web2.co.ottertail.mn.us/arcgis/rest/services/Photography/2021_Photo/MapServer" target="_blank" rel="noopener"&gt;https://web2.co.ottertail.mn.us/arcgis/rest/services/Photography/2021_Photo/MapServer&lt;/A&gt;"&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;Before using the Leaflet/ESRI plugin, I tried converting the WMTS source to an XYZ Tile Layer but was unsuccessful. There seemed to have been an issue with the server when &lt;/FONT&gt;retrieving&lt;FONT face="inherit"&gt;&amp;nbsp;the tiles from an XYZ Tile Layer format.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Any ideas on how to get the imagery source to load up in Leaflet other than using '&lt;SPAN class=""&gt;L.esri .dynamicMapLayer'? I am not glued to using the ESRI/Leaflet plugin but am more so looking for a way to get this imagery source running while still maintaining map rotation.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 19:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/issue-with-wmts-source/m-p/1223126#M21</guid>
      <dc:creator>JohnSalzbrunn</dc:creator>
      <dc:date>2023-08-25T19:52:32Z</dc:date>
    </item>
  </channel>
</rss>

