<?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: Updating API to 4.16 breaks TileLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643525#M60039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the additional information. We are investigating and will reply back to this thread when we have something to share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2020 21:34:44 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2020-07-15T21:34:44Z</dc:date>
    <item>
      <title>Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643522#M60036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there change documentation for version 4.16 that might help me understand why upgrading from 4.15 requires&amp;nbsp;&lt;SPAN style="color: #0000ff;"&gt;esri/layers/ImageryTileLayer&lt;/SPAN&gt; instead of&amp;nbsp;&lt;SPAN style="color: #0000ff;"&gt;esri/layers/TileLayer &lt;SPAN style="color: #000000;"&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// TileLayer produces the error "Failed to create view for layer..."&lt;/P&gt;&lt;P&gt;var tlay = new TileLayer({&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;url: layerUrl,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;title: year&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// changing to ImageryTileLayer solves the issue.&lt;/P&gt;&lt;P&gt;var tlay = new ImageryTileLayer({&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;url: layerUrl,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;title: year&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/500362_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 13:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643522#M60036</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2020-07-15T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643523#M60037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At 4.16,&amp;nbsp;the TileImageryLayer was removed and replaced by ImageryTileLayer. This should not affect TileLayer, which is a different class.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/release-notes/#imagery-layer-updates" title="https://developers.arcgis.com/javascript/latest/guide/release-notes/#imagery-layer-updates"&gt;Release notes for 4.16 | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a hosted sample that uses TileLayer in a 3D SceneView:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-layers" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-layers"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If TileLayer is not working for you, can you share a repro case on something like Codepen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 14:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643523#M60037</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-07-15T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643524#M60038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can switch to&amp;nbsp;&lt;SPAN&gt;ImageryTileLayer, but using&amp;nbsp;&lt;/SPAN&gt;TileLayer in 4.16 definetly does not work. One of the errors&amp;nbsp;it returns is "use ImageryTileLayer to open a tiled image service"&lt;/P&gt;&lt;P&gt;This is one tile layer here.&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://www.mymanatee.org/gisimg/rest/services/1940/AERIAL_1940_BW/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TileLayer yields&amp;nbsp;type:"tile"&lt;/P&gt;&lt;P&gt;ImageryTileLayer yields&amp;nbsp;type:"imagery-tile"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 19:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643524#M60038</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2020-07-15T19:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643525#M60039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the additional information. We are investigating and will reply back to this thread when we have something to share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 21:34:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643525#M60039</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-07-15T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643526#M60040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Hi &lt;A href="https://community.esri.com/migrated-users/359587"&gt;Gregory Bologna&lt;/A&gt;‌, we have an update to share. The TileLayer was never intended to work with a cached image service. So it was more of an issue that it used to work, as opposed to how it does not work now. We updated the Release Notes to make this more clear:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Use&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;ImageryTileLayer&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;class to add a cached image service to your map instead of&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;"&gt;TileLayer&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference: updated&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/guide/release-notes/#imagery-layer-updates"&gt;ImageryLayer updates&lt;/A&gt;&amp;nbsp;in Release Notes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643526#M60040</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-07-23T17:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Updating API to 4.16 breaks TileLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643527#M60041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is stated in the document that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html" style="color: #2989c5; text-decoration: none;"&gt;TileLayer&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;only works with cached map services. With the implementation of ImageryTileLayer we refactored the code for TileLayer as well.&amp;nbsp;This change is noted in the Imagery Layer updates section in&lt;A href="https://developers.arcgis.com/javascript/latest/guide/release-notes/#imagery-layer-updates" style="color: #2989c5; text-decoration: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Release Notes&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 18:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-api-to-4-16-breaks-tilelayer/m-p/643527#M60041</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-07-23T18:49:39Z</dc:date>
    </item>
  </channel>
</rss>

