<?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 do I subclass AGSGeometry and override CGPath used for drawing a polyline? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60770#M570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may subclass the &lt;SPAN style="color: #303030;"&gt;&lt;A class="interface_a_g_s_dynamic_layer.html" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html" style="color: #ffffff; padding: 2px; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: #303030;"&gt;AGSDynamicLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; to achieve this. A sample is available &lt;A href="https://github.com/Esri/tips-and-tricks-ios/tree/master/DevSummit2015_TipsAndTricksDemos/Tips-And-Tricks/CustomDynamicLayer"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample we are using to generate an image for the envelope. In your case, you may use CGPath to render an arc and draw it into an image using CGContext. Once you have the image you just need to set the image using &lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;- &lt;/SPAN&gt;&lt;A class="el" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html#aa3792ca388e9b1737895a3bee7c27c74" style="color: #7a7782; font-weight: bold; text-decoration: underline; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;setImageData:forEnvelope:&lt;/A&gt; the method, inside the &lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;- &lt;/SPAN&gt;&lt;A class="el" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html#af5f1d3b00137767eb12e9cf949e158ab" style="color: #7a7782; font-weight: bold; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;requestImageWithWidth:height:envelope:timeExtent:&lt;/A&gt; method override.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 00:12:19 GMT</pubDate>
    <dc:creator>GagandeepSingh</dc:creator>
    <dc:date>2015-05-05T00:12:19Z</dc:date>
    <item>
      <title>How do I subclass AGSGeometry and override CGPath used for drawing a polyline?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60769#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my project I have a requirement to draw some arc shapes on maps as overlay. I tried with "&lt;SPAN class="s1"&gt;AGSPolyline" but it draws only straight lines connecting to points.&lt;/SPAN&gt; I was able to do this feature in MapKit by subclassing "&lt;SPAN class="s1"&gt;MKOverlayPathRenderer" and by overriding "&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;createPath". I would like to do the same but looks like there is no path property available on AGSGeometry. Please let me know how I can achieve this using ESRI iOS map.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 23:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60769#M569</guid>
      <dc:creator>AkhilChoran_Balan</dc:creator>
      <dc:date>2015-05-01T23:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I subclass AGSGeometry and override CGPath used for drawing a polyline?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60770#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may subclass the &lt;SPAN style="color: #303030;"&gt;&lt;A class="interface_a_g_s_dynamic_layer.html" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html" style="color: #ffffff; padding: 2px; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: #303030;"&gt;AGSDynamicLayer&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; to achieve this. A sample is available &lt;A href="https://github.com/Esri/tips-and-tricks-ios/tree/master/DevSummit2015_TipsAndTricksDemos/Tips-And-Tricks/CustomDynamicLayer"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample we are using to generate an image for the envelope. In your case, you may use CGPath to render an arc and draw it into an image using CGContext. Once you have the image you just need to set the image using &lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;- &lt;/SPAN&gt;&lt;A class="el" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html#aa3792ca388e9b1737895a3bee7c27c74" style="color: #7a7782; font-weight: bold; text-decoration: underline; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;setImageData:forEnvelope:&lt;/A&gt; the method, inside the &lt;SPAN style="color: #000000; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;- &lt;/SPAN&gt;&lt;A class="el" href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_dynamic_layer.html#af5f1d3b00137767eb12e9cf949e158ab" style="color: #7a7782; font-weight: bold; font-family: Roboto, sans-serif; background-color: #fbfbfb;"&gt;requestImageWithWidth:height:envelope:timeExtent:&lt;/A&gt; method override.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 00:12:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60770#M570</guid>
      <dc:creator>GagandeepSingh</dc:creator>
      <dc:date>2015-05-05T00:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I subclass AGSGeometry and override CGPath used for drawing a polyline?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60771#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. I will try it out. Feels like a work around since we can draw polyline and polygon without using dynamic layer. Ability to subclass AGSGeometry and modify CGPath property would have been perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 04:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60771#M571</guid>
      <dc:creator>AkhilChoran_Balan</dc:creator>
      <dc:date>2015-05-05T04:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I subclass AGSGeometry and override CGPath used for drawing a polyline?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60772#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We don't use CGPath for drawing our polylines or polygons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 17:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-do-i-subclass-agsgeometry-and-override-cgpath/m-p/60772#M572</guid>
      <dc:creator>GagandeepSingh</dc:creator>
      <dc:date>2015-05-19T17:21:07Z</dc:date>
    </item>
  </channel>
</rss>

