<?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: Can't move a rectangle just created in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649102#M8107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiaguang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be hitting some of the expected behavior changes with SketchEditor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;StartAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SketchCreationMode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Rectangle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is equivalent to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; geometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; Editor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RequestShapeAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;DrawShape&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Rectangle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
geometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; Editor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;EditGeometryAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you specify optional parameter drawAndShape to false (default value: true), your draw will continue in edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also complete draw/edit using CompleteCommand just as before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using command binding&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;Button&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;Content&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;Complete&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attr-name token"&gt;Command&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;{Binding ElementName&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;MyMapView, Path&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;SketchEditor.CompleteCommand}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;programmatically invoking command&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CompleteCommand&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CanExecute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CompleteCommand&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Execute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To move the geometry, you tap on the outline of polyline/polygon while in edit mode. Once outline is highlighted, you can drag the feature just as before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 10.2.x, you may drag the feature right away but this may have caused unintentional edit (moved vertices/geometry by mistake). You also may complete interactively by tapping the geometry but this may have caused unintentional completion and also did not allow a vertex be added inside the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Morten mentioned, there are default configurations in SketchEditConfiguration. You may have noticed that AllowVertexEditing is only enabled by default for SketchCreationMode.Polyline/Polygon or Polygon/Polyline geometry but AllowMove should be enabled for all types and you should be able to override default edit configuration.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope that works. Please let us know, otherwise. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:31:25 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2021-12-12T03:31:25Z</dc:date>
    <item>
      <title>Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649098#M8103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I happen to meet a strange problem, I use the&amp;nbsp;"SketchEditor" to draw some geometry then use geometry to create feature and save them in different types of featurecollectiontables, WHEN I create " rectangle feature", I move it and save, the feature position remain unchange,all other like circle,polygon etc don't have this issue! so strange!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 02:14:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649098#M8103</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-01T02:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649099#M8104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share a little sample that reproduces the issues with more detailed steps how to reproduce?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 15:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649099#M8104</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-06-01T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649100#M8105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I will post the sample later, but now I have another question, when using "&lt;SPAN style="background-color: #ffffff;"&gt;SketchEditor" to draw geometry in 10.2.7, the geometry can be draged by choosing&amp;nbsp;whole area like drag a polygon ; but in 100.0 , I can only&amp;nbsp;drag by choosing outline, I wanna drag things like in 10.2.7&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 01:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649100#M8105</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-02T01:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649101#M8106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe for polygons the default is to not allow move. You can use the SketchEditConfiguration and set AllowMove=true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 21:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649101#M8106</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-06-02T21:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649102#M8107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiaguang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be hitting some of the expected behavior changes with SketchEditor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;StartAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SketchCreationMode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Rectangle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is equivalent to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; geometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; Editor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RequestShapeAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;DrawShape&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Rectangle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
geometry &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; Editor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;EditGeometryAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you specify optional parameter drawAndShape to false (default value: true), your draw will continue in edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also complete draw/edit using CompleteCommand just as before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using command binding&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;Button&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;Content&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;Complete&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="attr-name token"&gt;Command&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;{Binding ElementName&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;MyMapView, Path&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;SketchEditor.CompleteCommand}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;programmatically invoking command&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CompleteCommand&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CanExecute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CompleteCommand&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Execute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To move the geometry, you tap on the outline of polyline/polygon while in edit mode. Once outline is highlighted, you can drag the feature just as before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 10.2.x, you may drag the feature right away but this may have caused unintentional edit (moved vertices/geometry by mistake). You also may complete interactively by tapping the geometry but this may have caused unintentional completion and also did not allow a vertex be added inside the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Morten mentioned, there are default configurations in SketchEditConfiguration. You may have noticed that AllowVertexEditing is only enabled by default for SketchCreationMode.Polyline/Polygon or Polygon/Polyline geometry but AllowMove should be enabled for all types and you should be able to override default edit configuration.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope that works. Please let us know, otherwise. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649102#M8107</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T03:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649103#M8108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten Nielsen&lt;BR /&gt;I have set AllowMove to True, I mean I can't move a polygon by draging it's area, but can move it by draging it's outline, in 10.2.7, we can move a polygon by draging it's area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/355719_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pic up is&amp;nbsp;ArcGIS Runtime SDK for .NET 10.2.7 samples----Editing------Draw and Edit Graphics,here we can&amp;nbsp;&lt;SPAN&gt;move a polygon by draging it's area.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 02:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649103#M8108</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-06T02:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649104#M8109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jennifer&lt;/P&gt;&lt;P&gt;I think in 10.2.7 is more convenient, because in 100 moving polygon by dragging outline is kind of hard to choose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 02:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649104#M8109</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-06T02:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649105#M8110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is quite an old post but EditConfiguration has `RequireSelectionBeforeDrag` property since v100.2 when set to false will have the same 10.2.x behavior geometry or vertex/scale/rotate tools can be dragged without being tapped or highlighted first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649105#M8110</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-03-07T20:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649106#M8111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I set&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;EditConfiguration property`RequireSelectionBeforeDrag`&amp;nbsp; to false, and it's the same, I have to tap the outline and highlight it then I can move the polygon by drag the outline other than the polygon area&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 06:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649106#M8111</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2018-03-08T06:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649107#M8112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiaoguang,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`RequireSelectionBeforeDrag` only changes the behavior of when a geometry or tool (vertex, scale, rotate) gets moved, it would be immediate once dragged, no need to tap/highlight. But you are right, in 10.2.x, one can drag geometry from the fill/area and in 100.x one can drag geometry only from its outline. The reason for this design is to allow vertices to be added/moved inside the geometry fill as well which was a limitation in 10.2.x. I will forward this request to runtime design lead for consideration. We have also included in 100.2.x enhancements ability to select, insert/move/delete vertices programmatically - I'm not sure if helps your current workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile, if it's a challenge to select the polygon outline, you might want to update SketchEditor.Style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// change symbol&lt;/SPAN&gt;
MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Style &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SketchStyle&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LineSymbol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SimpleLineSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SimpleLineSymbolStyle&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Solid&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Colors&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Green&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// or just increase width of default symbol&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Style&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LineSymbol &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; LineSymbol&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Width &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also at any time without restarting your draw/edit turn on/off any of the configuration&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;CheckBox&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;Content&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;VertexEditing&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;IsChecked&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;{Binding ElementName&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;MyMapView, Path&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;SketchEditor.EditConfiguration.AllowVertexEditing, Mode&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;TwoWay}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, these make interacting with polygon outline better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649107#M8112</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T03:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649108#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am seeing the exact same behavior as Xiaoguang.&amp;nbsp; I was pretty stoked when I saw the new&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;RequireSelectionBeforeDrag property, but it doesn't seem to work as advertised.&amp;nbsp; The selecting the border to move stuff is driving our customers nuts.&amp;nbsp; It's not necessarily a problem to select the outline, but they just don't know that they have to do that to initiate a move.&amp;nbsp; It's not a good user experience, so being able to do it the old way would be a big win for us.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Not sure if I'm doing something wrong, but here are the EditConfiguration properties I set up before any edits:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;MainMapView.SketchEditor.EditConfiguration.AllowMove = true;&lt;BR /&gt;MainMapView.SketchEditor.EditConfiguration.AllowRotate = true;&lt;BR /&gt;MainMapView.SketchEditor.EditConfiguration.AllowVertexEditing = true;&lt;BR /&gt;MainMapView.SketchEditor.EditConfiguration.ResizeMode = SketchResizeMode.None;&lt;BR /&gt;MainMapView.SketchEditor.EditConfiguration.RequireSelectionBeforeDrag = false;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Even after setting those properties when I click on a graphic and drag the map pans.&amp;nbsp; I still need to tap the line or polygon boundary to select it.&amp;nbsp; Then I can click and drag the object.&amp;nbsp; Setting the RequireSelectionBeforeDrag property does not seem to have any effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;After&amp;nbsp;I set those properties RequireSelectionBeforeDrag is false as it should be.&amp;nbsp; The next thing I do is start an edit session with the selected graphic like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;graphic.Geometry = await ApplicationManager.MainMapView.SketchEditor.StartAsync(editGeom, sketchCreationMode);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Immediately after my edit is done the RequireSelectionBeforeDrag property is true for some reason.&amp;nbsp; Head scratcher there as I never explicitly set it to true.&amp;nbsp; I would expect it to remain false until I tell it otherwise.&amp;nbsp; I wonder if this is part of the reason it's not working as we expect it to.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649108#M8113</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2018-04-03T16:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649109#M8114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Andy. We have an open design issue for allowing drag from fill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the EditConfiguration not taking effect next time - is because it's not a global setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StartAsync has an optional parameter that accepts SketchEditConfiguration. If this is not supplied, we determine based on the type of geometry whether to enable scale/rotate/vertex editing, etc. The default setting for RequireSelectionBeforeDrag is true. To set it to false, you can either, pass the parameter or set it after StartAsync or set to false in a two-way binding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;StartAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SketchCreationMode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Polygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SketchEditConfiguration&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; RequireSelectionBeforeDrag &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// as parameter&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// or set after StartAsync&lt;/SPAN&gt;
MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;EditConfiguration&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;RequireSelectionBeforeDrag &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; ‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you used two-way binding, you would notice that next call to StartAsync will reset this back to true(checked).&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;CheckBox&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;Content&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;Select&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;IsChecked&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;{Binding ElementName&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;MyMapView, Path&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;SketchEditor.EditConfiguration.RequireSelectionBeforeDrag, Mode&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;TwoWay}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649109#M8114</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T03:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649110#M8115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boom!&amp;nbsp; I knew I must have been missing something.&amp;nbsp; It works a lot better now, but we do still have to click on the poly boundary to move it.&amp;nbsp; Will be very nice to be able to drag from fill.&amp;nbsp; Thanks for your help Jennifer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 21:58:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649110#M8115</guid>
      <dc:creator>AndyWright</dc:creator>
      <dc:date>2018-04-03T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't move a rectangle just created</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649111#M8116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that the requirement of selecting the outline to move a shape is an extremely confusing and difficult to use UX. I really hope this can be changed to work from the fill in a future update.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasted 3 hours today trying to figure out why I was not able to move my polygons and then happened to stumble upon this post.&amp;nbsp; At the very least it would be nice to see the API/docs or samples updated with some information about the expected UI workflow for moving geometries.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 21:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/can-t-move-a-rectangle-just-created/m-p/649111#M8116</guid>
      <dc:creator>MarkCollins</dc:creator>
      <dc:date>2018-05-14T21:42:02Z</dc:date>
    </item>
  </channel>
</rss>

