<?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 Add a circle to graphics layer in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/add-a-circle-to-graphics-layer/m-p/36061#M337</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;Is there an easy way to add a circle of known radius to the graphics layer with out using a geometry service task? I'd like to show a ring 400m from the GPS location, which shouldn't be too hard as the spatial reference is in metres already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Oct 2010 15:08:38 GMT</pubDate>
    <dc:creator>AndrewEgleton</dc:creator>
    <dc:date>2010-10-07T15:08:38Z</dc:date>
    <item>
      <title>Add a circle to graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/add-a-circle-to-graphics-layer/m-p/36061#M337</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;Is there an easy way to add a circle of known radius to the graphics layer with out using a geometry service task? I'd like to show a ring 400m from the GPS location, which shouldn't be too hard as the spatial reference is in metres already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 15:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/add-a-circle-to-graphics-layer/m-p/36061#M337</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2010-10-07T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add a circle to graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/add-a-circle-to-graphics-layer/m-p/36062#M338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, no. You can use the GeometryService task to buffer a point by 400 m (or whatever distance you want). This will yield a polygon that looks like a circle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to use the GeometryService, you can use a little trigonometry to find the points along the circle's circumference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let r be the radius of the circle. Let (a,b) be the center of the circle. Then to find points (x,y) along the circle :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x = a + r*cos(theta)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;y = a + r*sin(theta)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vary theta from 0 - 360. Use small increments to get a more detailed circle.&amp;nbsp; Create a polygon with a single ring that contains all these (x,y) pairs. You have a circle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 20:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/add-a-circle-to-graphics-layer/m-p/36062#M338</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2010-10-12T20:48:46Z</dc:date>
    </item>
  </channel>
</rss>

