<?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 WebTiledLayer v ServiceImageTiledLayer in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/webtiledlayer-v-serviceimagetiledlayer/m-p/559415#M6870</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've been able to perform the same action using the two layers specified. I give both of them a URL and it retrieves the tiles from a service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please explain the difference between them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 15:48:59 GMT</pubDate>
    <dc:creator>AaronMurphy3</dc:creator>
    <dc:date>2018-03-09T15:48:59Z</dc:date>
    <item>
      <title>WebTiledLayer v ServiceImageTiledLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/webtiledlayer-v-serviceimagetiledlayer/m-p/559415#M6870</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've been able to perform the same action using the two layers specified. I give both of them a URL and it retrieves the tiles from a service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please explain the difference between them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 15:48:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/webtiledlayer-v-serviceimagetiledlayer/m-p/559415#M6870</guid>
      <dc:creator>AaronMurphy3</dc:creator>
      <dc:date>2018-03-09T15:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: WebTiledLayer v ServiceImageTiledLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/webtiledlayer-v-serviceimagetiledlayer/m-p/559416#M6871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The secret lies in the class hierarchy. &lt;EM&gt;ServiceImageTiledLayer&lt;/EM&gt; is an abstract class that implements the basic functionality for fetching map tiles from a remote service. Of course, being abstract you can't instantiate an instance of&amp;nbsp;&lt;EM&gt;ServiceImageTiledLayer,&amp;nbsp;&lt;/EM&gt;you need a concrete class for that. Enter &lt;EM style="background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px;"&gt;WebTiledLayer&lt;/EM&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt; - a sealed class (cannot be derived from) that is derived from&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px;"&gt;ServiceImageTiledLayer&lt;/EM&gt; and provides a concrete class that can be used for generically accessing tiles from a remote service&lt;EM style="background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px;"&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you have a custom service that provides map tiles you can either use the concrete&amp;nbsp;&lt;EM&gt;WebTiledLayer&lt;/EM&gt; if the tile structure permits. Or, if you need something more custom, you can derive your own class from&amp;nbsp;&lt;EM&gt;ServiceImageTiledLayer&lt;/EM&gt; and override the &lt;EM&gt;GetTileUriAsync&lt;/EM&gt; method and adjust the tile URL structure as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this thread:&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; for a simple OpenStreetMap example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 22:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/webtiledlayer-v-serviceimagetiledlayer/m-p/559416#M6871</guid>
      <dc:creator>GregDeStigter</dc:creator>
      <dc:date>2018-03-09T22:55:56Z</dc:date>
    </item>
  </channel>
</rss>

