<?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: how to refresh map service from legend in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162981#M708</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;For a server-based scenario it's probably the same workflow unless perhaps you're using image services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 07:46:11 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2013-10-31T07:46:11Z</dc:date>
    <item>
      <title>how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162976#M703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have built a WPF client application that is using the esri:legend toolbox. The map that I am adding in the legend are comming from map packages files. Sometimes my map packages files are getting updated. Then I would like to update only the local map service instead of closing and opening the application. Do you have a code sample in vb.net that does that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;François&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 19:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162976#M703</guid>
      <dc:creator>FrancoisGilbert</dc:creator>
      <dc:date>2013-10-29T19:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162977#M704</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;Please can you provide more details regarding exactly how the map packages are being updated whilst the application is running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 08:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162977#M704</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-10-30T08:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162978#M705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Morning,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The team here is looking at the latest weather forecats with our WPF application. There is a python script that is running in the background and whenever a new forecast is avalable, the script reads it and produce a new map package. I would like my application to be able to update that new map package instead of closing and reopening the application. I suppose I need to stop and restart the local map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;François&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 12:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162978#M705</guid>
      <dc:creator>FrancoisGilbert</dc:creator>
      <dc:date>2013-10-30T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162979#M706</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;Without knowing more detail on how you're updating the layers - What you should probably do is programmatically create a new local map service based on the new map package, start the service and create a new local dynamic layer then remove the existing local dynamic map service layer from the map, stop the existing local map service, and add the new layer to the map (either with the same layer ID as the previous layer or if it's a new ID you may need to update the legend map layers. You might like to try applying some transparency to the layers as you're removing one and adding the other in order that the transition appears smoother?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 12:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162979#M706</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-10-30T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162980#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought the work flow would have been more automated like I would call a update method on the local map service but the method you are talking about is feasible. Is this the same method when the map is stored on the server instead of local map package. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;François&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 17:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162980#M707</guid>
      <dc:creator>FrancoisGilbert</dc:creator>
      <dc:date>2013-10-30T17:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to refresh map service from legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162981#M708</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;For a server-based scenario it's probably the same workflow unless perhaps you're using image services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 07:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-refresh-map-service-from-legend/m-p/162981#M708</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-10-31T07:46:11Z</dc:date>
    </item>
  </channel>
</rss>

