<?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: Tap-and-drag sketch editor in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tap-and-drag-sketch-editor/m-p/1075855#M7013</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431666"&gt;@kris&lt;/a&gt;&amp;nbsp;The tap and drag behavior is supported using the &lt;EM&gt;AGSSketchEditConfiguration&lt;/EM&gt;&amp;nbsp;class. &amp;nbsp;It has a &lt;EM&gt;requireSelectionBeforeDrag&lt;/EM&gt;&amp;nbsp;property, which defaults to &lt;EM&gt;true&lt;/EM&gt;. &amp;nbsp;Set this to &lt;EM&gt;false&lt;/EM&gt; to get the behavior you want.&lt;/P&gt;&lt;P&gt;You'll need to create an &lt;EM&gt;AGSSketchEditConfigration&lt;/EM&gt;, set it's &lt;EM&gt;requireSelectionBeforeDrag&lt;/EM&gt;&amp;nbsp;property to &lt;EM&gt;false&lt;/EM&gt;, then pass the configuration into your &lt;EM&gt;AGSSketchEditor.start()&lt;/EM&gt;&amp;nbsp;call:&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let config = AGSSketchEditConfiguration()
config.requireSelectionBeforeDrag = false
lineSketchEditor.start(with: AGSSketchCreationMode.polyline,
                       editConfiguration: config)&lt;/LI-CODE&gt;&lt;P&gt;Let us know if you have any more questions. &amp;nbsp;And good luck with your project!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 14:29:31 GMT</pubDate>
    <dc:creator>MarkDostal</dc:creator>
    <dc:date>2021-07-06T14:29:31Z</dc:date>
    <item>
      <title>Tap-and-drag sketch editor</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tap-and-drag-sketch-editor/m-p/1075615#M7011</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We are helping a customer migrating from MapBox over to AGS &lt;span class="lia-unicode-emoji" title=":woman_dancing:"&gt;💃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So far, all good, but they have gotten used to MapBox' sketch editor, and they are asking us to support the following "feature":&lt;/P&gt;&lt;P&gt;Using the AGSSketchEditor, you have to tap first to select, then it becomes possible to move a vertex on the next gesture.&lt;/P&gt;&lt;P&gt;They prefer to tap the vertex and just drag to edit in one go.&lt;/P&gt;&lt;P&gt;Does anyone have a good idea how to meet meet their habit? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 12:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tap-and-drag-sketch-editor/m-p/1075615#M7011</guid>
      <dc:creator>kris</dc:creator>
      <dc:date>2021-07-05T12:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tap-and-drag sketch editor</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tap-and-drag-sketch-editor/m-p/1075855#M7013</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431666"&gt;@kris&lt;/a&gt;&amp;nbsp;The tap and drag behavior is supported using the &lt;EM&gt;AGSSketchEditConfiguration&lt;/EM&gt;&amp;nbsp;class. &amp;nbsp;It has a &lt;EM&gt;requireSelectionBeforeDrag&lt;/EM&gt;&amp;nbsp;property, which defaults to &lt;EM&gt;true&lt;/EM&gt;. &amp;nbsp;Set this to &lt;EM&gt;false&lt;/EM&gt; to get the behavior you want.&lt;/P&gt;&lt;P&gt;You'll need to create an &lt;EM&gt;AGSSketchEditConfigration&lt;/EM&gt;, set it's &lt;EM&gt;requireSelectionBeforeDrag&lt;/EM&gt;&amp;nbsp;property to &lt;EM&gt;false&lt;/EM&gt;, then pass the configuration into your &lt;EM&gt;AGSSketchEditor.start()&lt;/EM&gt;&amp;nbsp;call:&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let config = AGSSketchEditConfiguration()
config.requireSelectionBeforeDrag = false
lineSketchEditor.start(with: AGSSketchCreationMode.polyline,
                       editConfiguration: config)&lt;/LI-CODE&gt;&lt;P&gt;Let us know if you have any more questions. &amp;nbsp;And good luck with your project!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 14:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tap-and-drag-sketch-editor/m-p/1075855#M7013</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2021-07-06T14:29:31Z</dc:date>
    </item>
  </channel>
</rss>

