<?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: how to draw line between two point in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605508#M13462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Polyline.html#includeExamplesSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Polyline.html#includeExamplesSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 19:34:27 GMT</pubDate>
    <dc:creator>SchoppMatthieu</dc:creator>
    <dc:date>2011-10-13T19:34:27Z</dc:date>
    <item>
      <title>how to draw line between two point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605507#M13461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how to&amp;nbsp; draw a line between two point as knows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 var point:MapPoint =new MapPoint(118.8021, 32.0702);
&amp;nbsp;&amp;nbsp; var point2:MapPoint =new MapPoint(118.8029, 32.0684);

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how to draw a line ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 13:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605507#M13461</guid>
      <dc:creator>yanli</dc:creator>
      <dc:date>2011-10-13T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to draw line between two point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605508#M13462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Polyline.html#includeExamplesSummary"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/geometry/Polyline.html#includeExamplesSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 19:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605508#M13462</guid>
      <dc:creator>SchoppMatthieu</dc:creator>
      <dc:date>2011-10-13T19:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to draw line between two point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605509#M13463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had to do something like this the other day, Ill post if anyone still needs it: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var startPoint:MapPoint = new MapPoint(geom.x, geom.y);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var endPoint:MapPoint = new MapPoint(endX,endY);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//Create polyline between these points&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var newPath:Array = [];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;newPath.push(startPoint,endPoint);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var polyline:Polyline = new Polyline([newPath], geom.spatialReference);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 07:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-line-between-two-point/m-p/605509#M13463</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-02T07:37:40Z</dc:date>
    </item>
  </channel>
</rss>

