<?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 Directions Widget:  Close Stops and Optimize Order creates bad routes in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/directions-widget-close-stops-and-optimize-order/m-p/188163#M17450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the Directions Widget with the "Optimize Order" box checked, and several stops that are close together, the resulting route doesn't make sense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see in the picture below - the route from A to B is illogical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123032" alt="DirectionsWidget.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/123032_DirectionsWidget.JPG" style="width: 620px; height: 392px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's definitely an issue with the widget, because I can run the same route in ArcMap or using the simple routing sample and I get much better results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else experienced this and know how to resolve it?&amp;nbsp; I'm not attaching code, because I'm just using the Directions sample: &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_directions_basic.html" title="https://developers.arcgis.com/javascript/jssamples/widget_directions_basic.html"&gt;Directions | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shawna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 15:59:33 GMT</pubDate>
    <dc:creator>ShawnaErnst</dc:creator>
    <dc:date>2015-08-19T15:59:33Z</dc:date>
    <item>
      <title>Directions Widget:  Close Stops and Optimize Order creates bad routes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/directions-widget-close-stops-and-optimize-order/m-p/188163#M17450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the Directions Widget with the "Optimize Order" box checked, and several stops that are close together, the resulting route doesn't make sense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see in the picture below - the route from A to B is illogical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123032" alt="DirectionsWidget.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/123032_DirectionsWidget.JPG" style="width: 620px; height: 392px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's definitely an issue with the widget, because I can run the same route in ArcMap or using the simple routing sample and I get much better results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else experienced this and know how to resolve it?&amp;nbsp; I'm not attaching code, because I'm just using the Directions sample: &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_directions_basic.html" title="https://developers.arcgis.com/javascript/jssamples/widget_directions_basic.html"&gt;Directions | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shawna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/directions-widget-close-stops-and-optimize-order/m-p/188163#M17450</guid>
      <dc:creator>ShawnaErnst</dc:creator>
      <dc:date>2015-08-19T15:59:33Z</dc:date>
    </item>
  </channel>
</rss>

