<?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 implement drag to change route in flex like google map in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/implement-drag-to-change-route-in-flex-like-google/m-p/549047#M12374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have implemented routing between two stops, and user wants to drag result to change the route like in google map routing. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 15:39:17 GMT</pubDate>
    <dc:creator>SiminYou</dc:creator>
    <dc:date>2011-07-19T15:39:17Z</dc:date>
    <item>
      <title>implement drag to change route in flex like google map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/implement-drag-to-change-route-in-flex-like-google/m-p/549047#M12374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have implemented routing between two stops, and user wants to drag result to change the route like in google map routing. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 15:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/implement-drag-to-change-route-in-flex-like-google/m-p/549047#M12374</guid>
      <dc:creator>SiminYou</dc:creator>
      <dc:date>2011-07-19T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: implement drag to change route in flex like google map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/implement-drag-to-change-route-in-flex-like-google/m-p/549048#M12375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have implemented this and hope it will help others who are looking for a similar implementation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My solution is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. listen to editTool's drag event &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. when a drag occurs, recording the start, end and drag points of the polyline. delete current selected polyline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. recompute two routes, one is from start to the drag point and the other is from drag point to the end &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. merge two polylines together and display on the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, due to the process speed of RouteTask, it takes a while to complete a drag operation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 12:15:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/implement-drag-to-change-route-in-flex-like-google/m-p/549048#M12375</guid>
      <dc:creator>SiminYou</dc:creator>
      <dc:date>2011-07-21T12:15:51Z</dc:date>
    </item>
  </channel>
</rss>

