<?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: WmsLayer reloads all tiles when panned in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364672#M1800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A WMS layer is not a tiled layer but a dynamic layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It means that each time the map extent changes a request is done to the WMS server in order to get a new image covering the map extent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the normal behavior and we can't change it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The OGC tiled layer is called WMTS (Web Map Tiling Service). It's also supported by the ArcGIS API by using a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Toolkit.DataSources~ESRI.ArcGIS.Client.Toolkit.DataSources.WmtsLayer.html"&gt;WMTS layer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 17:48:26 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2013-04-03T17:48:26Z</dc:date>
    <item>
      <title>WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364671#M1799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a WmsLayer as the basemap in my application. When I pan the map slightly to one side, the WmsLayer will reload all visible tiles, even though the large portion of the tiles have already been loaded. In other words: when I pan the map just slightly, all visible map tiles disappear and load over again. This differs from the behavior of and ArcGISTiledMapLayer, which will only load the tiles that have not already been loaded. Is there some way to get a similar behaviour in a WmsLayer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;btw. I'm using ArcGIS API for WPF version 2.4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364671#M1799</guid>
      <dc:creator>ae</dc:creator>
      <dc:date>2013-03-28T11:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364672#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A WMS layer is not a tiled layer but a dynamic layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It means that each time the map extent changes a request is done to the WMS server in order to get a new image covering the map extent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the normal behavior and we can't change it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The OGC tiled layer is called WMTS (Web Map Tiling Service). It's also supported by the ArcGIS API by using a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Toolkit.DataSources~ESRI.ArcGIS.Client.Toolkit.DataSources.WmtsLayer.html"&gt;WMTS layer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364672#M1800</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-04-03T17:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364673#M1801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply dbroux! Luckily for me the map that I want to use in my application is also available as a WMTS. Unfortunately though, nothing happens when I try to load the map (i.e. no tiles are loaded). My code for adding the map is the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;Esri:WmtsLayer Visible="True" 
Version="1.0.0" 
Layer="matrikkel_bakgrunn" 
Url="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?" /&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Information about the service (i.e. available layers and such) can be found here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=getcapabilities" rel="nofollow noopener noreferrer" target="_blank"&gt;http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?Version=1.0.0&amp;amp;service=wmts&amp;amp;request=getcapabilities&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what I'm doing wrong here? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364673#M1801</guid>
      <dc:creator>ae</dc:creator>
      <dc:date>2021-12-11T16:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364674#M1802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't run into any issue by using your code as the only layer of a map:&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:Map Name="MyMap" WrapAround="True"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:WmtsLayer Layer="matrikkel_bakgrunn"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version="1.0.0" Visible="True" /&amp;gt;
&amp;lt;/esri:Map&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, the WMTS gets correctly displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may run into issue if your map contains others tiled layers using others spatial references.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, you have to force the SR of your WMTS layer by setting the TileMatrixSet property to a supported matrix set having the same SR as others layers.For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:Map Name="MyMap" WrapAround="True"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:WmtsLayer Layer="matrikkel_bakgrunn"&amp;nbsp;&amp;nbsp;&amp;nbsp; TileMatrixSet="EPSG:3857"&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version="1.0.0" Visible="True" /&amp;gt;
&amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364674#M1802</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-12T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364675#M1803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's very strange indeed. When you got it to work, did you use Runtime 1.0? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using version 2.4, and I cannot get it to work, even if I create a completely new project and copy/paste your code above into it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 06:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364675#M1803</guid>
      <dc:creator>ae</dc:creator>
      <dc:date>2013-04-09T06:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364676#M1804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested with WPF 2.4 and that seems working as well (see screenshot).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23319[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your issue exactly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to use fiddler to look at requests sent to the server, that might give a clue about your issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364676#M1804</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-04-09T11:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: WmsLayer reloads all tiles when panned</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364677#M1805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*Yay* it's working now. Thanks dbroux! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be specific, the following did not work (i.e. no tiles are loaded): &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:Map Name="MyMap" WrapAround="True"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:WmtsLayer Layer="matrikkel_bakgrunn"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version="1.0.0" Visible="True" /&amp;gt;
&amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I added a ArcGISTiledMapServiceLayer, and then set the TileMatrixSet as below, it worked as a charm:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:Map Name="MyMap" WrapAround="True"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /&amp;gt;&amp;lt;esri:WmtsLayer Layer="matrikkel_bakgrunn"&amp;nbsp;&amp;nbsp;&amp;nbsp; TileMatrixSet="EPSG:3857"&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version="1.0.0" Visible="True" /&amp;gt;
&amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My only issue now is that the loading time of the tiles seems to slow down at times (i.e. suddenly it takes up to 30 seconds to load a new set of tiles). This is a different issue however and I will try to debug it with Fiddler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again thanks for your help dbroux!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:58:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/wmslayer-reloads-all-tiles-when-panned/m-p/364677#M1805</guid>
      <dc:creator>ae</dc:creator>
      <dc:date>2021-12-11T16:58:26Z</dc:date>
    </item>
  </channel>
</rss>

