<?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: Displaying a WMTS service on a basemap in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/displaying-a-wmts-service-on-a-basemap/m-p/1296090#M81306</link>
    <description>&lt;P&gt;When using tiled layers, your map's layers should all use the same coordinate system.&amp;nbsp; Therefore, in this case, you should use their Web Mercator-based service instead:&lt;/P&gt;&lt;P&gt;&lt;A href="https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer/WMTS" target="_blank"&gt;https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer/WMTS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, since this is an ArcGIS Server map service, there's probably not much value in using the WMTS interface.&amp;nbsp; You could use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html" target="_self"&gt;TileLayer&lt;/A&gt; instead, with the URL:&lt;/P&gt;&lt;P&gt;&lt;A href="https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer" target="_blank"&gt;https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 23:24:23 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2023-06-05T23:24:23Z</dc:date>
    <item>
      <title>Displaying a WMTS service on a basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/displaying-a-wmts-service-on-a-basemap/m-p/1296017#M81305</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I'm using the ArcGIS Maps SDK for JavaScript, and I want to create a map and consume a WMTS layer. According to the documentation, it says to use the WMTSLayer class. However, the service is not displaying on my basemap.&lt;/P&gt;&lt;P&gt;The link to the WMTS service I want to read is: &lt;A href="https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ/MapServer/WMTS" target="_new"&gt;https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ/MapServer/WMTS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am attaching the code I am using, and there are no errors in the browser's inspector console.&lt;/P&gt;&lt;P&gt;I appreciate any help you can provide&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="IngJuanMaSuarez_0-1685998275107.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72388i3206862172D0E8E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="IngJuanMaSuarez_0-1685998275107.png" alt="IngJuanMaSuarez_0-1685998275107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IngJuanMaSuarez_1-1685998312770.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72389i10F527B55607F63A/image-size/large?v=v2&amp;amp;px=999" role="button" title="IngJuanMaSuarez_1-1685998312770.png" alt="IngJuanMaSuarez_1-1685998312770.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 20:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/displaying-a-wmts-service-on-a-basemap/m-p/1296017#M81305</guid>
      <dc:creator>IngJuanMaSuarez</dc:creator>
      <dc:date>2023-06-05T20:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a WMTS service on a basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/displaying-a-wmts-service-on-a-basemap/m-p/1296090#M81306</link>
      <description>&lt;P&gt;When using tiled layers, your map's layers should all use the same coordinate system.&amp;nbsp; Therefore, in this case, you should use their Web Mercator-based service instead:&lt;/P&gt;&lt;P&gt;&lt;A href="https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer/WMTS" target="_blank"&gt;https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer/WMTS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, since this is an ArcGIS Server map service, there's probably not much value in using the WMTS interface.&amp;nbsp; You could use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html" target="_self"&gt;TileLayer&lt;/A&gt; instead, with the URL:&lt;/P&gt;&lt;P&gt;&lt;A href="https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer" target="_blank"&gt;https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2015_NJ_WM/MapServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 23:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/displaying-a-wmts-service-on-a-basemap/m-p/1296090#M81306</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-06-05T23:24:23Z</dc:date>
    </item>
  </channel>
</rss>

