<?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: Custom ServiceImageTiledLayer zoom visibility in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611358#M7514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The desired behavior you're describing should be how tiled layers works.&lt;/P&gt;&lt;P&gt;It's not clear to me what the problem you're having is, or why the existing tiled layers doesn't do what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2018 17:38:05 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2018-07-23T17:38:05Z</dc:date>
    <item>
      <title>Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611357#M7513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for our software we had to implement an own ServiceImageTiledLayer foreach level of detail/ zoom levels. Therefore each tiles layer consist of a tile cache with only the top zero layer and not all detail layers in one cache. Hope that this is clear enough. Through our constraints it is not possible to put them all together in one custom layer instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard MapView behaviour is to make them visible and invisible on the different zoom levels according to an unknown decision metric based on resolution and scale from the LevelOfDetail. That works so far, if we add the caches in a sorted order according to the resolution of each cache. But then we see some problems to display them correctly to our requirements. I try to use practical words to avoid missunderstandings in the words. Please tell me if something isn't clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Caches are automatically made invisible which allows gaps between the LoDs&lt;UL&gt;&lt;LI&gt;IsVisibleOnScale is true for the whole zoom range&lt;/LI&gt;&lt;LI&gt;IsVisible is always on true&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Min/MaxScale on a ServiceImageTiledLayer has no effect in this scenario&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired behaviour:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Fully zoomed out =&amp;gt; the topmost cache shall be visible&lt;/LI&gt;&lt;LI&gt;Fully zoomed in =&amp;gt; the lowermost cache shall be visible&lt;/LI&gt;&lt;LI&gt;Between two overlapping caches the lower one shall be displayed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question would be if it is possible to solve this issues or to work around them? Otherwise is there a behaviour specification for this layer visibility or can we handle this ourselve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 08:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611357#M7513</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-07-23T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611358#M7514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The desired behavior you're describing should be how tiled layers works.&lt;/P&gt;&lt;P&gt;It's not clear to me what the problem you're having is, or why the existing tiled layers doesn't do what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 17:38:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611358#M7514</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-07-23T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611359#M7515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morton,&lt;/P&gt;&lt;P&gt;I agree, this is also my understanding. In our scenario, we have foreach level of detail an instance of a derived ServiceImageTiledLayer. I will call it CustomTiledCache from now on. So these CustomTiledCaches have only one level of detail within, but all together represent a standard tiled cache behaviour. The reason why is simple. We share these data structures with another program and can't change it. The problem we have there is the minimal different extent for each level of detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example we have maps in 100k, 50k and 10k scale loadet and there are zoom steps showing no map between two caches. We couldn't fix this, because of the implemented visibility automatic from the MapView,Renderer, or whatever controls it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this gives a better view on the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 13:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611359#M7515</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-07-24T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611360#M7516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me, for the annoying postings, but we need a solution for the problem as soon as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 12:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611360#M7516</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-07-27T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611361#M7517</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;Are you able to provide the code and data that reproduces the problem? (Geonet has a 10MB upload limit - you can email &lt;A href="mailto:mbranscomb@esri.com"&gt;mbranscomb@esri.com&lt;/A&gt;&amp;nbsp;with details of a download location, or to request an online folder share)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not able to provide the code and data, we'll need to understand more details:&lt;/P&gt;&lt;P&gt;- To which layer collection are you adding the tiled layers? (e.g. Map.Basemap.BaseLayers)&lt;/P&gt;&lt;P&gt;- What are the properties for&amp;nbsp;the MinScale, MaxScale, and TileInfo for each layer you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 19:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611361#M7517</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2018-07-27T19:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611362#M7518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone who can help or offered help.&lt;/P&gt;&lt;P&gt;I have to apologize for the late reply. We are very busy at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a demo of the problem to my first post and hope that makes it more clear to you.&lt;/P&gt;&lt;P&gt;The demo is a little and rapidly build application of our problems and is so far not polished.&lt;/P&gt;&lt;P&gt;To creat it we use Visual Studio 2017, .Net Framework 4.6.1 and nuget.org.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The application itself creates four tile caches based on our existing map material which I can’t provide.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The maps have an approximate scale ration of 1:250K, 1:100K, 1:50K and 1:1m and are not completely congruent.&lt;/LI&gt;&lt;LI&gt;For&amp;nbsp; a better viewing of the map, you should add the dark gray canvas background map. I used a .tpk file,&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;because we have some proxy issues to get it from the Esri servers.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The tiles overlapping the extents. Thas true, because we normally have there transparent areas.&lt;/LI&gt;&lt;LI&gt;The layer update mechanism is a construct to prevent upper visible layers to hide the layer below according to the zoom level.&lt;/LI&gt;&lt;LI&gt;The MinScale and MaxScale is used but has no effect at all. Visibillity is controlled by the map view.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if we do something wrong in the code, &amp;nbsp;you have improvements for us or something has to be explained in more detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 15:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611362#M7518</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-08-09T15:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611363#M7519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any news for me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 15:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611363#M7519</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-08-20T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611364#M7520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking at your reproducer (thanks for that), and I'm a little confused. If you only want to one "cache" at a time, why aren't you just using a single custom layer and direct the file URIs to the correct "cache" based on the LOD that's requested in&amp;nbsp;GetTileUriAsync ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 15:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611364#M7520</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-08-27T15:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611365#M7521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use different caches for each level, because the extent of each cache differs a bit and we are in a situation where we can't change the tile format/structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see that they are not congruent when you zoom into the map in the reproducer. The extents of the caches are from a real example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for investigating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 16:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611365#M7521</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-08-27T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611366#M7522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,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;"&gt;&amp;gt; We use different caches for each level, because the extent of each cache differs a bit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,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;"&gt;Just set an extent that encompasses all of the extents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,'helvetica neue',verdana,sans-serif;"&gt;Also set 'myTiledLayer.NoDataTileBehavior = NoDataTileBehavior.Blank;' to prevent upsampling of higher-level LODs and only show a single LOD at the same time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 16:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611366#M7522</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-08-27T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ServiceImageTiledLayer zoom visibility</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611367#M7523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We tried that. The problem with this solution is, that the tiles are not aligned correctly. In addition we have tranparent tiles where the difference is bigger between the extents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunatly, this is no solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 16:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/custom-serviceimagetiledlayer-zoom-visibility/m-p/611367#M7523</guid>
      <dc:creator>OliverBoesche</dc:creator>
      <dc:date>2018-08-27T16:51:21Z</dc:date>
    </item>
  </channel>
</rss>

