<?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: Is there a simple way to determine which barriers were routed around in RouteTask? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/is-there-a-simple-way-to-determine-which-barriers/m-p/398970#M4727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteTask.SolveRouteAsync() returns the Task&amp;lt;RouteResult&amp;gt;&lt;/P&gt;&lt;P&gt;If you have a point barrier, you need to set RouteParams.ReturnPointBarriers to true to get the barrier information from the RouteResult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteParams.ReturnPointBarriers = true; // PointBarriers&lt;BR /&gt;var routeResult = await RouteTask.SolveRouteAsync(RouteParameters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 04:56:35 GMT</pubDate>
    <dc:creator>NagmaYasmin</dc:creator>
    <dc:date>2017-06-14T04:56:35Z</dc:date>
    <item>
      <title>Is there a simple way to determine which barriers were routed around in RouteTask?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/is-there-a-simple-way-to-determine-which-barriers/m-p/398969#M4726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to be able to determine if the barriers which were passed in through RouteParameters were utilized. Is there a simple way to return this information, or is it not tracked by RouteTask?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/is-there-a-simple-way-to-determine-which-barriers/m-p/398969#M4726</guid>
      <dc:creator>ClayGinn</dc:creator>
      <dc:date>2017-06-14T01:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a simple way to determine which barriers were routed around in RouteTask?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/is-there-a-simple-way-to-determine-which-barriers/m-p/398970#M4727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteTask.SolveRouteAsync() returns the Task&amp;lt;RouteResult&amp;gt;&lt;/P&gt;&lt;P&gt;If you have a point barrier, you need to set RouteParams.ReturnPointBarriers to true to get the barrier information from the RouteResult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteParams.ReturnPointBarriers = true; // PointBarriers&lt;BR /&gt;var routeResult = await RouteTask.SolveRouteAsync(RouteParameters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 04:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/is-there-a-simple-way-to-determine-which-barriers/m-p/398970#M4727</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-06-14T04:56:35Z</dc:date>
    </item>
  </channel>
</rss>

