<?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: WMTS and 4.7 API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-and-4-7-api/m-p/1181946#M77658</link>
    <description>&lt;P&gt;Hi!&amp;nbsp; Was this ever resolved?&amp;nbsp; I'm having what looks like the same problem.&amp;nbsp; But with me, when I use 4.20 no errors are thrown.&amp;nbsp; But when using 4.21 or higher, errors like yours are thrown.&amp;nbsp; Something about&amp;nbsp;&lt;SPAN&gt;GogleMapsCompatible that I don't understand.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 16:46:54 GMT</pubDate>
    <dc:creator>DanielWebb</dc:creator>
    <dc:date>2022-06-10T16:46:54Z</dc:date>
    <item>
      <title>WMTS and 4.7 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-and-4-7-api/m-p/156777#M14625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a WMTS service (from Pictometry) that I'm trying to add to my application.&amp;nbsp; My code is the following:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN&gt;esriConfig.request.corsEnabledServers.push("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsvc.pictometry.com" rel="nofollow" target="_blank"&gt;https://svc.pictometry.com&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt; layer = new WMTSLayer({&lt;BR /&gt;&lt;SPAN&gt; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsvc.pictometry.com%2FImage%2F****-****-*****%2Fwmts" rel="nofollow" target="_blank"&gt;https://svc.pictometry.com/Image/****-****-*****/wmts&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt; id: "********",&lt;BR /&gt; title: "Pictometry"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;});&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt; map.add(layer);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I'm getting a 404 from Pictometry's service.&amp;nbsp; This service is set up using the GoogleMapsCompatible schema.&amp;nbsp; The issue is the URL being formed by the API and sent to the WMTS server is using the wrong Level-of-Detail or TILEMATRIX.&amp;nbsp; Instead of using the levelValue&amp;nbsp; (.tileMatrixSet.lods[0].levelValue), its using the level id (.tileMatrixSet.lods[0].level)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request&amp;nbsp;being sent is:&amp;nbsp; &amp;nbsp;pictometry.com/Image/*******/wmts/******/default/GogleMapsCompatible/&lt;STRONG&gt;5&lt;/STRONG&gt;/10398/23600.png&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The request&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;that should be sent is&lt;/SPAN&gt;:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; pictometry.com/Image/*******/wmts/******/default/GogleMapsCompatible/&lt;/SPAN&gt;&lt;STRONG&gt;16&lt;/STRONG&gt;&lt;SPAN&gt;/10398/23600.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any thoughts on how to resolve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 21:13:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-and-4-7-api/m-p/156777#M14625</guid>
      <dc:creator>AdamCrateau1</dc:creator>
      <dc:date>2018-05-10T21:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS and 4.7 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-and-4-7-api/m-p/1181946#M77658</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; Was this ever resolved?&amp;nbsp; I'm having what looks like the same problem.&amp;nbsp; But with me, when I use 4.20 no errors are thrown.&amp;nbsp; But when using 4.21 or higher, errors like yours are thrown.&amp;nbsp; Something about&amp;nbsp;&lt;SPAN&gt;GogleMapsCompatible that I don't understand.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-and-4-7-api/m-p/1181946#M77658</guid>
      <dc:creator>DanielWebb</dc:creator>
      <dc:date>2022-06-10T16:46:54Z</dc:date>
    </item>
  </channel>
</rss>

