<?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: How to load WMTS service with a customed tileinfo in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-load-wmts-service-with-a-customed-tileinfo/m-p/532561#M49641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The most common issue with WMTS layers is with the &lt;EM&gt;GetCapabilities&lt;/EM&gt; request which returns an XML file. If that XML file is located on a server that is different then the one serving your application, it will be blocked by the browser. This is because XML files are not supported for &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"&gt;CORS&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find whether that is the issue by opening your browser's developer console (usually with F12 on Windows). After reloading the page, you might find an error there indicating that a request was blocked for security reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case, try using a &lt;A href="https://developers.arcgis.com/javascript/latest/guide/proxies/index.html"&gt;proxy page&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 21:21:16 GMT</pubDate>
    <dc:creator>DavidBlanchard</dc:creator>
    <dc:date>2017-11-15T21:21:16Z</dc:date>
    <item>
      <title>How to load WMTS service with a customed tileinfo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-load-wmts-service-with-a-customed-tileinfo/m-p/532560#M49640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to load “天地图”(a tile map serivce ,following socalled OGC standards, but the tilematrixset and dpi are unique) with arcgis api for javascript v4.5?&lt;/P&gt;&lt;P&gt;I have tried two ways to load tianditu using javascript v4.5 ,and neither carried out right.&lt;/P&gt;&lt;P&gt;The first one, I used the WMTSLayer to load the tianditu, but the coordinate was wrong with a big deviation.&lt;/P&gt;&lt;P&gt;Another one turn out a different coordinate system which looks like a projecting goesystem.&lt;/P&gt;&lt;P&gt;What's the problems? Is there any right method to load the tianditu?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;A class="link-titled" href="https://github.com/yxfcn/tiandituv45" title="https://github.com/yxfcn/tiandituv45"&gt;GitHub - yxfcn/tiandituv45: load tianditu with arcgis api for javascript v4.5&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 16:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-load-wmts-service-with-a-customed-tileinfo/m-p/532560#M49640</guid>
      <dc:creator>yinxiaofei</dc:creator>
      <dc:date>2017-10-26T16:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to load WMTS service with a customed tileinfo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-load-wmts-service-with-a-customed-tileinfo/m-p/532561#M49641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The most common issue with WMTS layers is with the &lt;EM&gt;GetCapabilities&lt;/EM&gt; request which returns an XML file. If that XML file is located on a server that is different then the one serving your application, it will be blocked by the browser. This is because XML files are not supported for &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"&gt;CORS&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find whether that is the issue by opening your browser's developer console (usually with F12 on Windows). After reloading the page, you might find an error there indicating that a request was blocked for security reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case, try using a &lt;A href="https://developers.arcgis.com/javascript/latest/guide/proxies/index.html"&gt;proxy page&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 21:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-load-wmts-service-with-a-customed-tileinfo/m-p/532561#M49641</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2017-11-15T21:21:16Z</dc:date>
    </item>
  </channel>
</rss>

