<?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 WMTS Web Map In Basemap Gellery Problem in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-web-map-in-basemap-gellery-problem/m-p/445960#M41179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our ArcGIS Portal has WMTS Maps. We'd like to switch them using Basemap gallery widget. But when you do so it throws error "&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: italic;"&gt;TypeError: this.tileInfo.spatialReference.toJson is not a function&lt;/SPAN&gt;", however everything works fine with ESRI Map Service layers.&lt;/P&gt;&lt;P&gt;I added a sample which demonstrates this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 09:44:02 GMT</pubDate>
    <dc:creator>EduardLepner1</dc:creator>
    <dc:date>2015-04-17T09:44:02Z</dc:date>
    <item>
      <title>WMTS Web Map In Basemap Gellery Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-web-map-in-basemap-gellery-problem/m-p/445960#M41179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our ArcGIS Portal has WMTS Maps. We'd like to switch them using Basemap gallery widget. But when you do so it throws error "&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: italic;"&gt;TypeError: this.tileInfo.spatialReference.toJson is not a function&lt;/SPAN&gt;", however everything works fine with ESRI Map Service layers.&lt;/P&gt;&lt;P&gt;I added a sample which demonstrates this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 09:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-web-map-in-basemap-gellery-problem/m-p/445960#M41179</guid>
      <dc:creator>EduardLepner1</dc:creator>
      <dc:date>2015-04-17T09:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Web Map In Basemap Gellery Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-web-map-in-basemap-gellery-problem/m-p/445961#M41180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have the same problem but in AGOL.&lt;/P&gt;&lt;P&gt;We can create and use &lt;STRONG&gt;WMTS&amp;nbsp; &lt;/STRONG&gt;as basemaps in the AGOL Map viewer, but in &lt;STRONG&gt;any other js webapplication&lt;/STRONG&gt; (ie agol&amp;nbsp; templates viewers) the wmts basemap doesn't 'appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching with Firefox firebug we noticed this error while we try to switch from standard basemap (tiled rest map service)&amp;nbsp; to WMTS basemap from the basemap gallery:&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;STRONG&gt;&lt;SPAN class="errorMessage"&gt;TypeError: this.tileInfo.spatialReference.toJson is not a function&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;SPAN class="errorMessage"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;SPAN class="errorMessage"&gt;we use the same spatial refeence ( webmaercator) and the same tiling schema.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;SPAN class="errorMessage"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;SPAN class="errorMessage"&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="subLogRow errorTitle focusRow"&gt;&lt;SPAN class="errorMessage"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 09:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-web-map-in-basemap-gellery-problem/m-p/445961#M41180</guid>
      <dc:creator>Arpa_PiemonteGeoportal_Team</dc:creator>
      <dc:date>2015-05-25T09:26:16Z</dc:date>
    </item>
  </channel>
</rss>

