<?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 create arc on map in ArcGis API for IOS? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120292#M7225</link>
    <description>&lt;P&gt;Hello everybody, I am trying to add an arc element to the map, but I have no idea how to do it, I have not found any information about it in the available manuals, please help, there is a method with which I tried to create an arc:&lt;/P&gt;&lt;P&gt;let arc = AGSEllipticArcSegment.createcircularellipticarc(withcenter: AGSPoint(x:0.0, y:0.0, SpatialReference: .wgs84()), radius: 55.8413245857547, startAngle: 0, centralAngle: 180, SpatialReference: .wgs84())&lt;/P&gt;&lt;P&gt;but to display on the map, you need to add this element to the graphics, but do it like this:&lt;/P&gt;&lt;P&gt;let graphic = AGSGraphic(geometry: arc, symbol:fillsymbol, attributes: nil)&lt;/P&gt;&lt;P&gt;is not allowed because AGSEllipticArcSegment does not translate to AGSGeometry if possible, I would like to see an example of how to display a similar thing on a map&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 11:36:09 GMT</pubDate>
    <dc:creator>dmitriymikhaylov</dc:creator>
    <dc:date>2021-11-25T11:36:09Z</dc:date>
    <item>
      <title>How create arc on map in ArcGis API for IOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120292#M7225</link>
      <description>&lt;P&gt;Hello everybody, I am trying to add an arc element to the map, but I have no idea how to do it, I have not found any information about it in the available manuals, please help, there is a method with which I tried to create an arc:&lt;/P&gt;&lt;P&gt;let arc = AGSEllipticArcSegment.createcircularellipticarc(withcenter: AGSPoint(x:0.0, y:0.0, SpatialReference: .wgs84()), radius: 55.8413245857547, startAngle: 0, centralAngle: 180, SpatialReference: .wgs84())&lt;/P&gt;&lt;P&gt;but to display on the map, you need to add this element to the graphics, but do it like this:&lt;/P&gt;&lt;P&gt;let graphic = AGSGraphic(geometry: arc, symbol:fillsymbol, attributes: nil)&lt;/P&gt;&lt;P&gt;is not allowed because AGSEllipticArcSegment does not translate to AGSGeometry if possible, I would like to see an example of how to display a similar thing on a map&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 11:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120292#M7225</guid>
      <dc:creator>dmitriymikhaylov</dc:creator>
      <dc:date>2021-11-25T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How create arc on map in ArcGis API for IOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120338#M7226</link>
      <description>&lt;P&gt;Hi, Please check out the iOS sample code here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Display%20information/Add%20graphics%20with%20renderer/AddGraphicsWithRendererViewController.swift#L113" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Display%20information/Add%20graphics%20with%20renderer/AddGraphicsWithRendererViewController.swift#L113&lt;/A&gt;&amp;nbsp;that adds both Bezier and Elliptic arcs.&lt;/P&gt;&lt;P&gt;With the current API, you'll need to first create an `AGSPart`, then add all the curve segments to the part, and then add the part to a polygon builder.&lt;/P&gt;&lt;P&gt;If you read Kotlin, here is the Android sample code:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/blob/a7c8dd3d27cab7937ede19c641c0a9e9b32b6b0f/java/add-graphics-renderer/src/main/java/com/esri/arcgisruntime/sample/addgraphicsrenderer/MainActivity.java#L220" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/blob/a7c8dd3d27cab7937ede19c641c0a9e9b32b6b0f/java/add-graphics-renderer/src/main/java/com/esri/arcgisruntime/sample/addgraphicsrenderer/MainActivity.java#L220&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Ideally we'll add the same convenience API to iOS SDK in the future, that allows you to directly create a polygon with curvatures from an `AGSPart` object.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 17:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120338#M7226</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2021-11-25T17:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How create arc on map in ArcGis API for IOS?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120407#M7227</link>
      <description>&lt;P&gt;Thank you very much for the answer! This information will be very useful for solving this problem, if I make the necessary calculations and add the results to the polyline element, then I will get what I need.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 09:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-create-arc-on-map-in-arcgis-api-for-ios/m-p/1120407#M7227</guid>
      <dc:creator>dmitriymikhaylov</dc:creator>
      <dc:date>2021-11-26T09:45:32Z</dc:date>
    </item>
  </channel>
</rss>

