<?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: Unable to drag or move sketched polygon in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-drag-or-move-sketched-polygon/m-p/1243695#M11568</link>
    <description>&lt;P&gt;I know its a bit old&lt;BR /&gt;but i had the same problem&lt;BR /&gt;but your&amp;nbsp;&lt;SPAN&gt;Geometry spatial&amp;nbsp;&lt;/SPAN&gt;reference should be the same as the map&lt;BR /&gt;&lt;BR /&gt;i hope it helps&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var editedGeom = await mapView.SketchEditor.StartAsync(GeometryEngine.Project(geom, map.SpatialReference));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2022 07:56:49 GMT</pubDate>
    <dc:creator>ofirrosner</dc:creator>
    <dc:date>2022-12-26T07:56:49Z</dc:date>
    <item>
      <title>Unable to drag or move sketched polygon</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-drag-or-move-sketched-polygon/m-p/1193635#M11147</link>
      <description>&lt;P&gt;I am using ArcGIS Runtime API for .Net WPF version 100.13. I am building on the "Sketch a map" example found in this link&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/sketch-on-map/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/sketch-on-map/&lt;/A&gt;. It works fine for drawing graphics (except no callouts). And I can "move" selected points by clicking on a new location. But I can't drag polygons. When a polygon gets selected, the vertices get highlighted and one vertex gets selected and can be dragged. But I want to move the entire polygon. I tried modifying the SketchEditorConfiguration as shown below but don't end up with any way to drag the selected polygon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MyMapView.InteractionOptions.IsPanEnabled = false;&lt;BR /&gt;SketchEditConfiguration sec = new SketchEditConfiguration();&lt;BR /&gt;sec.AllowMove = true;&lt;BR /&gt;sec.AllowVertexEditing = false;&lt;BR /&gt;Esri.ArcGISRuntime.Geometry.Geometry newGeometry = await MyMapView.SketchEditor.StartAsync(editGraphic.Geometry, SketchCreationMode.Polygon, sec);&lt;BR /&gt;MyMapView.InteractionOptions.IsPanEnabled = true;&lt;/P&gt;&lt;P&gt;I checked the following links but they didn't help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/can-t-move-a-rectangle-just-created/td-p/649098" target="_blank"&gt;Can't move a rectangle just created - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following link works for a point, but not a polygon&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/workflow-suggestions-for-moving-a-graphic/m-p/17270#M206" target="_blank"&gt;Solved: Re: Workflow suggestions for moving a Graphic? - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 19:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-drag-or-move-sketched-polygon/m-p/1193635#M11147</guid>
      <dc:creator>EricPfirman</dc:creator>
      <dc:date>2022-07-19T19:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to drag or move sketched polygon</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-drag-or-move-sketched-polygon/m-p/1243695#M11568</link>
      <description>&lt;P&gt;I know its a bit old&lt;BR /&gt;but i had the same problem&lt;BR /&gt;but your&amp;nbsp;&lt;SPAN&gt;Geometry spatial&amp;nbsp;&lt;/SPAN&gt;reference should be the same as the map&lt;BR /&gt;&lt;BR /&gt;i hope it helps&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var editedGeom = await mapView.SketchEditor.StartAsync(GeometryEngine.Project(geom, map.SpatialReference));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 07:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/unable-to-drag-or-move-sketched-polygon/m-p/1243695#M11568</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2022-12-26T07:56:49Z</dc:date>
    </item>
  </channel>
</rss>

