<?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: Sketch editor not receiving points with polygon selection mode in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/sketch-editor-not-receiving-points-with-polygon/m-p/1488685#M7795</link>
    <description>&lt;P&gt;Thanks for reaching out! As its name suggested, "freehand" polygon follows the cursor (finger) as it moves on the screen. On iOS, that is tap-then-drag gesture. This gesture is to enable a "continuous" path when you draw the polygon, in contrast to the old-fashion polygon where the places you tap become vertices.&lt;/P&gt;&lt;P&gt;You can try the behavior by downloading the 100.x samples app from &lt;A href="https://apps.apple.com/us/app/arcgis-runtime-sdk-for-ios/id1180714771" target="_self"&gt;App Store&lt;/A&gt;, or build the app from source from this &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios" target="_self"&gt;repo&lt;/A&gt;. Use the "Sketch on the map" sample.&lt;/P&gt;&lt;P&gt;Also encourage you to check out the &lt;A href="https://developers.arcgis.com/swift/" target="_self"&gt;200.x SDK&lt;/A&gt; if you are interested in migrating the app to the newer version using SwiftUI and many new features! We have made many enhancements to the original sketch editor in 100.x, and it becomes the new geometry editor. See this &lt;A href="https://www.esri.com/arcgis-blog/products/sdk-net/developers/migrating-your-legacy-sketcheditor-code-to-the-new-geometryeditor/" target="_self"&gt;post&lt;/A&gt; for an idea.&lt;/P&gt;&lt;P&gt;Let me know if you have more questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Oops, I might have misread your question. Checkout the &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/main/arcgis-ios-sdk-samples/Display%20information/Sketch%20on%20the%20map" target="_self"&gt;Sketch on the map&lt;/A&gt;&amp;nbsp;sample's source code to see if it helps.&lt;/P&gt;&lt;P&gt;- Freehand polygon: tap then drag gesture to create polygon&lt;/P&gt;&lt;P&gt;- Polygon: tap to create vertices&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 05:49:35 GMT</pubDate>
    <dc:creator>Ting</dc:creator>
    <dc:date>2024-06-11T05:49:35Z</dc:date>
    <item>
      <title>Sketch editor not receiving points with polygon selection mode</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/sketch-editor-not-receiving-points-with-polygon/m-p/1488606#M7794</link>
      <description>&lt;P&gt;I have an existing app that currently uses &lt;FONT face="andale mono,times"&gt;.freehandPolygon&lt;/FONT&gt; as the creation mode for its sketch editor (100.15.2). I am trying to add &lt;FONT face="andale mono,times"&gt;.polygon&lt;/FONT&gt; as a new creation mode, but when I start the sketch editor with &lt;FONT face="andale mono,times"&gt;.polygon&lt;/FONT&gt;, I am unable to tap to create a new point. The map will zoom on double tap, but nothing happens when I single tap on the screen (simulator).&lt;/P&gt;&lt;P&gt;I am new to &lt;FONT face="andale mono,times"&gt;.polygon&lt;/FONT&gt; so I can't tell if I am missing something. The &lt;FONT face="andale mono,times"&gt;.freehand*&lt;/FONT&gt; and &lt;FONT face="andale mono,times"&gt;.rectangle&lt;/FONT&gt; creation modes are working fine. Do I need to call &lt;FONT face="andale mono,times"&gt;insertVertexAfterSelectedVertexWithPoint()&lt;/FONT&gt; somewhere? If so, where?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 01:38:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/sketch-editor-not-receiving-points-with-polygon/m-p/1488606#M7794</guid>
      <dc:creator>HawkMan</dc:creator>
      <dc:date>2024-06-11T01:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch editor not receiving points with polygon selection mode</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/sketch-editor-not-receiving-points-with-polygon/m-p/1488685#M7795</link>
      <description>&lt;P&gt;Thanks for reaching out! As its name suggested, "freehand" polygon follows the cursor (finger) as it moves on the screen. On iOS, that is tap-then-drag gesture. This gesture is to enable a "continuous" path when you draw the polygon, in contrast to the old-fashion polygon where the places you tap become vertices.&lt;/P&gt;&lt;P&gt;You can try the behavior by downloading the 100.x samples app from &lt;A href="https://apps.apple.com/us/app/arcgis-runtime-sdk-for-ios/id1180714771" target="_self"&gt;App Store&lt;/A&gt;, or build the app from source from this &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios" target="_self"&gt;repo&lt;/A&gt;. Use the "Sketch on the map" sample.&lt;/P&gt;&lt;P&gt;Also encourage you to check out the &lt;A href="https://developers.arcgis.com/swift/" target="_self"&gt;200.x SDK&lt;/A&gt; if you are interested in migrating the app to the newer version using SwiftUI and many new features! We have made many enhancements to the original sketch editor in 100.x, and it becomes the new geometry editor. See this &lt;A href="https://www.esri.com/arcgis-blog/products/sdk-net/developers/migrating-your-legacy-sketcheditor-code-to-the-new-geometryeditor/" target="_self"&gt;post&lt;/A&gt; for an idea.&lt;/P&gt;&lt;P&gt;Let me know if you have more questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Oops, I might have misread your question. Checkout the &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/main/arcgis-ios-sdk-samples/Display%20information/Sketch%20on%20the%20map" target="_self"&gt;Sketch on the map&lt;/A&gt;&amp;nbsp;sample's source code to see if it helps.&lt;/P&gt;&lt;P&gt;- Freehand polygon: tap then drag gesture to create polygon&lt;/P&gt;&lt;P&gt;- Polygon: tap to create vertices&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 05:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/sketch-editor-not-receiving-points-with-polygon/m-p/1488685#M7795</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-06-11T05:49:35Z</dc:date>
    </item>
  </channel>
</rss>

