<?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 Removing solved route from display in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/removing-solved-route-from-display/m-p/667912#M1795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a geoprocessing tool that finds the shortest route between two stops (entered by user) on a road network. Then, published it as geoprocessing service to be used in an ArcGIS viewer for Silverlight App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the web, when finding the shortest route between two stops, the route is added to the map. Then when finding another route, the new route appears on the map and the first one stills. And when finding more routes, the previous routes are kept. How can I change this behavior so when a new route is found the previous one is removed from the map? This is shown below with screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_545.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/12825_Clip_545.jpg" style="width: 620px; height: 321px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- First Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_546.jpg" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/12826_Clip_546.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- Second Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_547.jpg" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/12827_Clip_547.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4- Third Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_548.jpg" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/12828_Clip_548.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 13:06:46 GMT</pubDate>
    <dc:creator>HaniDraidi</dc:creator>
    <dc:date>2014-09-16T13:06:46Z</dc:date>
    <item>
      <title>Removing solved route from display</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/removing-solved-route-from-display/m-p/667912#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a geoprocessing tool that finds the shortest route between two stops (entered by user) on a road network. Then, published it as geoprocessing service to be used in an ArcGIS viewer for Silverlight App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the web, when finding the shortest route between two stops, the route is added to the map. Then when finding another route, the new route appears on the map and the first one stills. And when finding more routes, the previous routes are kept. How can I change this behavior so when a new route is found the previous one is removed from the map? This is shown below with screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_545.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/12825_Clip_545.jpg" style="width: 620px; height: 321px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- First Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_546.jpg" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/12826_Clip_546.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- Second Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_547.jpg" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/12827_Clip_547.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4- Third Route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_548.jpg" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/12828_Clip_548.jpg" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 13:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/removing-solved-route-from-display/m-p/667912#M1795</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2014-09-16T13:06:46Z</dc:date>
    </item>
  </channel>
</rss>

