<?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 show the sublayer of tileLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364586#M83211</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/749576"&gt;@AbramhumHsu&lt;/a&gt;,&amp;nbsp;can you share your code? Here is an example of using a TileLayer from a MapServer URL:&lt;BR /&gt;&lt;A href="https://codepen.io/noash/pen/PoLqqNv?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/PoLqqNv?editors=1000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Dec 2023 19:26:59 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2023-12-27T19:26:59Z</dc:date>
    <item>
      <title>How to show the sublayer of tileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364289#M83207</link>
      <description>&lt;P&gt;I meet a problem when using tileLayer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this error message:[esri.views.LayerViewFactory] Failed to create view for layer 'Layer, id:18ca58dcb5d-layer-1' of type 'tile'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in mapserver description page, I see these infos:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbramhumHsu_0-1703584814649.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89955iCF55A24E340C095C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbramhumHsu_0-1703584814649.png" alt="AbramhumHsu_0-1703584814649.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this mean I should get the map data from sublayer, and further more, how to make it, thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 10:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364289#M83207</guid>
      <dc:creator>AbramhumHsu</dc:creator>
      <dc:date>2023-12-26T10:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the sublayer of tileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364586#M83211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/749576"&gt;@AbramhumHsu&lt;/a&gt;,&amp;nbsp;can you share your code? Here is an example of using a TileLayer from a MapServer URL:&lt;BR /&gt;&lt;A href="https://codepen.io/noash/pen/PoLqqNv?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/PoLqqNv?editors=1000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 19:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364586#M83211</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2023-12-27T19:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to show the sublayer of tileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364674#M83215</link>
      <description>&lt;P&gt;This is great, I use the codes as the document description, but it invalid.&lt;/P&gt;&lt;P&gt;1.&lt;BR /&gt;let serviceSublayers = newBasemap.createServiceSublayers();&lt;BR /&gt;newBasemap.sublayers = serviceSublayers;&lt;BR /&gt;2.&lt;BR /&gt;let result = newBasemap.sublayers;&lt;BR /&gt;let newBasemap2 = newBasemap.findSublayerById(1);&lt;/P&gt;&lt;P&gt;newBasemap is built via tileLayer, it seems tileLayer is not used for sublayers, thanks.&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 01:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-the-sublayer-of-tilelayer/m-p/1364674#M83215</guid>
      <dc:creator>AbramhumHsu</dc:creator>
      <dc:date>2023-12-28T01:30:06Z</dc:date>
    </item>
  </channel>
</rss>

