<?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 Layer as a Basemap in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90996#M8311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pau,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could always load your map without a basemap which will make your wmts layer the "basemap"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just comment out the ESRI basemap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 12:06:44 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2014-09-10T12:06:44Z</dc:date>
    <item>
      <title>WMTS Layer as a Basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90995#M8310</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;I'm trying to add a WMTS layer as Basemap, but can not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows, and I get error request:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;var tileInfo = new TileInfo({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "dpi": "96",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "format": "image/jpeg",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "compressionQuality": 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "spatialReference": {"wkid": "25830"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "rows": 256,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "cols": 256,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "origin": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "x": 400000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "y": 4600000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; "lods":[{"level": "EPSG:25830:0","scale": 2200000,"resolution": 582.08449750232842}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:1","scale": 1600000,"resolution": 423.33418000169337},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:2","scale": 1000000,"resolution": 264.58386250105838},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:3","scale": 800000,"resolution": 211.66709000084668},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:4","scale": 600000,"resolution": 158.75031750063502},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:5","scale": 500000,"resolution": 132.29193125052919},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:6","scale": 400000,"resolution": 105.83354500042334},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:7","scale": 300000,"resolution": 79.375158750317510},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:8","scale": 250000,"resolution": 66.145965625264594},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:9","scale": 200000,"resolution": 52.916772500211671},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:10","scale": 150000,"resolution": 39.687579375158755},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:11","scale": 125000,"resolution": 33.072982812632297},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:12","scale": 100000,"resolution": 26.458386250105836},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:13","scale": 90000,"resolution": 23.812547625095252},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:14","scale": 80000,"resolution": 21.166709000084669},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:15","scale": 70000,"resolution": 18.520870375074086},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:16","scale": 60000,"resolution": 15.875031750063501},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:17","scale": 50000,"resolution": 13.229193125052918},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:18","scale": 40000,"resolution": 10.583354500042335},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:19","scale": 30000,"resolution": 7.9375158750317505},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:20","scale": 25000,"resolution": 6.6145965625264589},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:21","scale": 20000,"resolution": 5.2916772500211673},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:22","scale": 15000,"resolution": 3.9687579375158752},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:23","scale": 12500,"resolution": 3.3072982812632294},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:24","scale": 10000,"resolution": 2.6458386250105836},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:25","scale": 7500,"resolution": 1.9843789687579376},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:26","scale": 5000,"resolution": 1.322919312505290},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:27","scale": 3000,"resolution": 0.793751587503175},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:28","scale": 2000,"resolution": 0.529167725002117},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:29","scale": 1000,"resolution": 0.264583862501058},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {"level": "EPSG:25830:30","scale": 500,"resolution": 0.132291931250529}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;var CapaBase = new BasemapLayer({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; url: servidor + "geowebcache/service/wmts",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; type: "WebTiledLayer",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; tileInfo: tileInfo});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; var capaBaseOrto = new Basemap({layers: [CapaBase], id: "Ortofoto", title: "Ortofoto", thumbnailUrl:"images/base_ortofoto.jpg"});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; basemaps.push(capaBaseOrto);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;var basemapGallery = new BasemapGallery({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; showArcGISBasemaps: false,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; basemaps: basemaps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; map: map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; }, "basemapGallery");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; basemapGallery.startup();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 11:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90995#M8310</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2014-09-10T11:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer as a Basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90996#M8311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pau,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could always load your map without a basemap which will make your wmts layer the "basemap"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just comment out the ESRI basemap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90996#M8311</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-10T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer as a Basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90997#M8312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tim for the response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to load multiple layers as basemap, and switch between them using the BasemapGallery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was to avoid doing it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90997#M8312</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2014-09-10T12:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer as a Basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90998#M8313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pau,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the error you get? Can you also post the code where you define basemaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:50:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90998#M8313</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-10T12:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: WMTS Layer as a Basemap</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90999#M8314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is in the request because it is not built well. My request is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://cartoplora.cma.gva.es/geowebcache/service/wmts?SERVICE=WMTS&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetTile&amp;amp;LAYER=Ortofoto_ICV&amp;amp;STYLE=_null&amp;amp;FORMAT=image/jpeg&amp;amp;TILEMATRIXSET=EPSG:25830&amp;amp;TILEMATRIX=" rel="nofollow" target="_blank"&gt;http://cartoplora.cma.gva.es/geowebcache/service/wmts?SERVICE=WMTS&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetTile&amp;amp;LAYER=Ortofoto_ICV&amp;amp;STYLE=_null&amp;amp;FORMAT=image/jpeg&amp;amp;TILEMATRIXSET=EPSG:25830&amp;amp;TILEMATRIX=&lt;/A&gt;&lt;SPAN&gt;" + level + "&amp;amp;TILEROW=" + row + "&amp;amp;TILECOL=" + col&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I click on basemap thumbnail basemap request is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cartoplora.cma.gva.es/geowebcache/service/wmts" title="http://cartoplora.cma.gva.es/geowebcache/service/wmts"&gt;http://cartoplora.cma.gva.es/geowebcache/service/wmts&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request is like WMS, without parameters, and only one request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know where to define parameters such as name layer ("Ortofoto_ICV" or "MDT_LIDAR"), Tilematrixset,... I think it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is in my first post. I define a array "basemaps" , where I add the Basemap Layers (basemaps.push(...)).&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>Wed, 10 Sep 2014 13:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmts-layer-as-a-basemap/m-p/90999#M8314</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2014-09-10T13:18:10Z</dc:date>
    </item>
  </channel>
</rss>

