<?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: Better approach to work with ARCGIS API for WPF in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199869#M909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's some description on the RouteParameters: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.RouteParameters.html"&gt;http://help.arcgis.com/en/webapi/wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.RouteParameters.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at Fiddler response when using this SDK sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Routing"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Routing&lt;/A&gt;&lt;SPAN&gt;, you will see that Total_Time and Shape_Length are returned with RouteDirections=False. ReturnRoutes must be true though to get this information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 15:49:26 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2012-01-20T15:49:26Z</dc:date>
    <item>
      <title>Better approach to work with ARCGIS API for WPF</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199866#M906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing a Desktop Application using WPF with features such as 'Reverse Geocoding', 'Geocoding Addresses', 'Showing Routes for Stops', 'Showing distance and Estimated Time for a Trip' etc. We are using ArcGis API for WPF for all such functionalities using ESRI's shared servers (we will setup our own servers once we move to production)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have implemented 'Reverse Geocoding', Geocoding' very well and other features are working well also. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since being the first-timers to ArcGIS APIs, I am more concerned with our approach and methedology of work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Particularly, while getting route for a set of stops, we use 'RouteTask' with url '&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;A href="http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_NA/NAServer/Route"&gt;http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_NA/NAServer/Route&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;'. While passing RouteParameters to the RouteTask, i have to set 'ReturnDirections = true' as we also require the distance and time for the route which could be get by 'RouteResult.Directions.TotalLength' and 'RouteResult.Directions.TotalTime'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While showing the stops and route on the Map, we have to iterate through the list of stops and then create an instance of 'TextSymbol' for each stop, assign a ControlTemplate(to show a circle with stop number) and then add it to the graphics layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I would like to ask if there is any drawback of using too many GraphicLayers on a Map. As in our case, we have to show locations of various vehicles and depending upon their status, different images for each vehicle. I am using a different layer for each vehicle status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help or pointers would be life saving.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 11:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199866#M906</guid>
      <dc:creator>DipinBehl</dc:creator>
      <dc:date>2012-01-16T11:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Better approach to work with ARCGIS API for WPF</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199867#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use just one GraphicsLayer to label your features. If the graphics are of the same geometry, it is okay that they are added to the same layer. You can even set GraphicsLayer.Renderer to SimpleRenderer with TextSymbol that points to an attribute, this way you don't need to create TextSymbol instance every time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 18:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199867#M907</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-01-18T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Better approach to work with ARCGIS API for WPF</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199868#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jennifer and thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would I always have to set 'ReturnDirections=true' for the RouteParameters to get the total distance and total drive time for the route, even if I have no intentions to display the directions on the UI. Or is there an optimized way, which i have apparently missed, to get this information. I would also require to get the distance and driver time between each stop in some scenarios.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 03:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199868#M908</guid>
      <dc:creator>DipinBehl</dc:creator>
      <dc:date>2012-01-19T03:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Better approach to work with ARCGIS API for WPF</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199869#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's some description on the RouteParameters: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.RouteParameters.html"&gt;http://help.arcgis.com/en/webapi/wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.RouteParameters.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at Fiddler response when using this SDK sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Routing"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Routing&lt;/A&gt;&lt;SPAN&gt;, you will see that Total_Time and Shape_Length are returned with RouteDirections=False. ReturnRoutes must be true though to get this information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 15:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/better-approach-to-work-with-arcgis-api-for-wpf/m-p/199869#M909</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-01-20T15:49:26Z</dc:date>
    </item>
  </channel>
</rss>

