<?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 How to draw an arc within a feature layer? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277010#M6524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcGIS API for Flex 2.4 and need to draw an arc within a FeatureLayer (in this context meaning part of a circle, between two known angles, having specific centre in map co-ordinates and a diameter in kilometres).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have access to services to assist with this, but as a possible starting point did find some code that appears to attempt to define a circle by extending the Polygon class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://proceedings.esri.com/library/userconf/devsummit09/papers/advancedflexapplications.pdf"&gt;http://proceedings.esri.com/library/userconf/devsummit09/papers/advancedflexapplications.pdf&lt;/A&gt;&lt;SPAN&gt; (slides 13 onwards)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this appears to use a method Utils.geodeticDirect(...) however that doesn't seem to exist in the API, so I'm unable to get it working as published and haven't found a way to fix it. I'm also informed that &amp;lt;geodetic.Circle&amp;gt; as the declaration isn't resolved to a component implementation. Maybe the approach in that presentation is too far out-of-date and no longer supported?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any ideas that you can suggest!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 15:40:15 GMT</pubDate>
    <dc:creator>SarahBurgin</dc:creator>
    <dc:date>2012-02-10T15:40:15Z</dc:date>
    <item>
      <title>How to draw an arc within a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277010#M6524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcGIS API for Flex 2.4 and need to draw an arc within a FeatureLayer (in this context meaning part of a circle, between two known angles, having specific centre in map co-ordinates and a diameter in kilometres).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have access to services to assist with this, but as a possible starting point did find some code that appears to attempt to define a circle by extending the Polygon class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://proceedings.esri.com/library/userconf/devsummit09/papers/advancedflexapplications.pdf"&gt;http://proceedings.esri.com/library/userconf/devsummit09/papers/advancedflexapplications.pdf&lt;/A&gt;&lt;SPAN&gt; (slides 13 onwards)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, this appears to use a method Utils.geodeticDirect(...) however that doesn't seem to exist in the API, so I'm unable to get it working as published and haven't found a way to fix it. I'm also informed that &amp;lt;geodetic.Circle&amp;gt; as the declaration isn't resolved to a component implementation. Maybe the approach in that presentation is too far out-of-date and no longer supported?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any ideas that you can suggest!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 15:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277010#M6524</guid>
      <dc:creator>SarahBurgin</dc:creator>
      <dc:date>2012-02-10T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw an arc within a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277011#M6525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For what it's worth, I found a solution to the missing geodeticDirect() method by working around it using MapPoint.offset(x,y) instead!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still haven't solved the compiler being unable to resolve the new component to its implementation, but for the moment I'm back to working with just 1 class, to avoid that issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 13:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277011#M6525</guid>
      <dc:creator>SarahBurgin</dc:creator>
      <dc:date>2012-02-13T13:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw an arc within a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277012#M6526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forums.arcgis.com/threads/43411-I-was-tasked-to-create-a-curved-polyline-using-Flex-API-and-wanted-to-share-my-work"&gt;http://forums.arcgis.com/threads/43411-I-was-tasked-to-create-a-curved-polyline-using-Flex-API-and-wanted-to-share-my-work&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 04:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277012#M6526</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-02-14T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw an arc within a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277013#M6527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It appears that I still have a problem with this task afterall.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm calculating each MapPoint on the arc's Polygon using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; centrePoint.offset(Math.cos(angleInRadians) * radiusInMeters, Math.sin(angleInRadians) * radiusInMeters)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the arc doesn't have the correct scale (i.e. they're not seen on the map at the correct distance from the centre point) and I don't know what's wrong. I've set the units property of the GraphicsLayer to com.esri.ags.Units.METERS yet they're still about 40% too small.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest what the problem is please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 12:47:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277013#M6527</guid>
      <dc:creator>SarahBurgin</dc:creator>
      <dc:date>2012-03-01T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw an arc within a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277014#M6528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the solution - the arc radius meeds to be divided by Math.cos(centrePoint.latitude * PI_OVER_180) and then scales correctly!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 14:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-draw-an-arc-within-a-feature-layer/m-p/277014#M6528</guid>
      <dc:creator>SarahBurgin</dc:creator>
      <dc:date>2012-03-02T14:00:44Z</dc:date>
    </item>
  </channel>
</rss>

