<?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 Snapping in the Editing functionality in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659763#M16893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While editing features in the Web map viewer, is it possible to snap to edges, vertices and nodes of the edited layer? Also, extrude and reduce the polygon by a specified value? This is an absolute must-have for the client, so any help will be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jolly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Feb 2011 07:42:26 GMT</pubDate>
    <dc:creator>JollyJacob</dc:creator>
    <dc:date>2011-02-18T07:42:26Z</dc:date>
    <item>
      <title>Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659763#M16893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While editing features in the Web map viewer, is it possible to snap to edges, vertices and nodes of the edited layer? Also, extrude and reduce the polygon by a specified value? This is an absolute must-have for the client, so any help will be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jolly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 07:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659763#M16893</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-02-18T07:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659764#M16894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Snapping is demonstrated in any of our Editing samples that use EditVertices command. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look at this sample for Default behavior: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave"&gt;&lt;BR /&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and this sample for Customized behavior:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the second sample the following properties are set on the map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; esri:Editor.SnapDistance="20" esri:Editor.SnapKey="S" &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The default values are SnapDistance of 15 pixels and SnapKey is CTRL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While EditVertices command is active, you drag a vertex while pressing on SnapKey and it will try to snap to vertices of other graphics that is within the given SnapDistance proximity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for extrusion, Do you mean extrude polygon in 3D as described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/tutorials/3D_analyst/3D_9_5.htm"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/tutorials/3D_analyst/3D_9_5.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We currently do not support 3D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 16:01:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659764#M16894</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-18T16:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659765#M16895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the Jennifer, the snapping sample was of great help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I used the wrong word, not 'extrude' but 'extend'. We would like to extend a polyline / polygon feature by a user-defined 'x' value and likewise trim it by say 'y' value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 11:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659765#M16895</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-03-08T11:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659766#M16896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh you mean scale the geometry? Scale and Rotate is new to v2.2. You can join our beta community to test it out and see if this is something you can use for your application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the Editor.EditVertices with ScaleEnabled=True, does not include a programmatic way of doing something like "ScaleX by some x amount and ScaleY by some y amount" as you suggested.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 20:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659766#M16896</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-09T20:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659767#M16897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply Jennifer. In the Municipality for which we are doing this project, they sometimes need to extend / contract plot geometry and they want to be able to do so using a user-defined value rather than an arbitary click-and-drag of the mouse extension. If we can't do that using the SL API that pretty much rules out SL and we might have to try this in Javascript instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 04:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659767#M16897</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-03-10T04:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping in the Editing functionality</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659768#M16898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also update graphic Geometry in code-behind without using the Editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void GraphicsLayer_MouseLeftButtonDown(object sender, GraphicMouseButtonEventArgs e)
{
 Polyline polyline = e.Graphic.Geometry as Polyline;
 Envelope current = polyline.Extent;
 Envelope expand = current.Expand(10);
 Polyline scaled = new Polyline();
 double sx = current.Width &amp;gt; 0 ? expand.Width / current.Width : 1d;
 double sy = current.Height &amp;gt; 0 ? expand.Height / current.Height : 1d;
 foreach (var path in polyline.Paths)
 {
&amp;nbsp; PointCollection pts = new PointCollection();
&amp;nbsp; foreach (var p in path)
&amp;nbsp;&amp;nbsp; pts.Add(new MapPoint((p.X - current.XMin) * sx + expand.XMin, (p.Y - current.YMin) * sy + expand.YMin));
&amp;nbsp; scaled.Paths.Add(pts);
 }
 e.Graphic.Geometry = scaled;
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/snapping-in-the-editing-functionality/m-p/659768#M16898</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T03:54:48Z</dc:date>
    </item>
  </channel>
</rss>

