<?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: Override th ImageTiledLayer in version 100.1 in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/override-th-imagetiledlayer-in-version-100-1/m-p/163988#M1869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an example of a custom tiled layer here:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/187238-how-do-i-add-an-wmts-layer"&gt;https://community.esri.com/thread/187238-how-do-i-add-an-wmts-layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the service image tiled layer, but should be the same for the image tiled layer (except you return a byte[] instead of image url).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason GetTileData isn't called is most likely because of providing the incorrect TileInfo, or the spatial reference doesn't match that of your mapview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 19:41:28 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2017-07-21T19:41:28Z</dc:date>
    <item>
      <title>Override th ImageTiledLayer in version 100.1</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/override-th-imagetiledlayer-in-version-100-1/m-p/163987#M1868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;In January I asked for overloading&amp;nbsp;ImageTiledLayer in WPF API v 100.0. In summary &amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;with same tile info ImageTiledLayer.GetTileDataAsync is never invoked, but&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ServiceImageTiledLayer.GetTileUriAsync is invoked correctly. &amp;nbsp;The result was that I used&amp;nbsp;&lt;SPAN&gt;ServiceImageTiledLayer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;In release notes for version 100.1 is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;"&lt;SPAN style="color: #4c4c4c;"&gt;Also, custom tiled layers can be created by sub-classing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959; background-color: #f8f8f8; border-width: 1px 0px; border-style: solid none; border-color: #efefef initial #efefef initial; padding: 0.25rem 0px;"&gt;ImageTiledLayer&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and its subclass,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #595959; background-color: #f8f8f8; border-width: 1px 0px; border-style: solid none; border-color: #efefef initial #efefef initial; padding: 0.25rem 0px;"&gt;ServiceImageTiledLayer&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c;"&gt;. These two abstract classes expose protected abstract methods to either fetch tile images or return the URL of the tile images".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;So I tried use&amp;nbsp;&lt;SPAN&gt;ImageTiledLayer, but&amp;nbsp;GetTileDataAsync&amp;nbsp;is never called.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Can you please provide an example with functional overriding of&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ImageTiledLayer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 12:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/override-th-imagetiledlayer-in-version-100-1/m-p/163987#M1868</guid>
      <dc:creator>AlexKost</dc:creator>
      <dc:date>2017-07-21T12:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Override th ImageTiledLayer in version 100.1</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/override-th-imagetiledlayer-in-version-100-1/m-p/163988#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an example of a custom tiled layer here:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/187238-how-do-i-add-an-wmts-layer"&gt;https://community.esri.com/thread/187238-how-do-i-add-an-wmts-layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the service image tiled layer, but should be the same for the image tiled layer (except you return a byte[] instead of image url).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason GetTileData isn't called is most likely because of providing the incorrect TileInfo, or the spatial reference doesn't match that of your mapview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 19:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/override-th-imagetiledlayer-in-version-100-1/m-p/163988#M1869</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-07-21T19:41:28Z</dc:date>
    </item>
  </channel>
</rss>

