<?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 Edit Point, move to XY in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631921#M58967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering if somebody has a code sample to help me out... I'm using the editor widget in one of my applications and it works great.&amp;nbsp; What I'd like to be able to do is to select a point location from a feature layer, and move the point to a specific XY coordinate.&amp;nbsp; I can currently click and drag a point just fine, but I'm trying to figure out how to get that point to an EXACT coordinate... Any ideas?&amp;nbsp; So the user will click a point, then fill out a Latitude textbox and a longitude textbox.&amp;nbsp; A submit button will then trigger the point to move to the Lat/Long location and save the edit all in one action... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 17:00:49 GMT</pubDate>
    <dc:creator>KenMorefield</dc:creator>
    <dc:date>2013-05-31T17:00:49Z</dc:date>
    <item>
      <title>Edit Point, move to XY</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631921#M58967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering if somebody has a code sample to help me out... I'm using the editor widget in one of my applications and it works great.&amp;nbsp; What I'd like to be able to do is to select a point location from a feature layer, and move the point to a specific XY coordinate.&amp;nbsp; I can currently click and drag a point just fine, but I'm trying to figure out how to get that point to an EXACT coordinate... Any ideas?&amp;nbsp; So the user will click a point, then fill out a Latitude textbox and a longitude textbox.&amp;nbsp; A submit button will then trigger the point to move to the Lat/Long location and save the edit all in one action... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 17:00:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631921#M58967</guid>
      <dc:creator>KenMorefield</dc:creator>
      <dc:date>2013-05-31T17:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Point, move to XY</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631922#M58968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One option might be to create a right-click context menu for the feature that allows the user to enter the new x,y location. Here's an example that shows how to create a context menu. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jssamples/graphics_contextmenu.html"&gt;http://developers.arcgis.com/en/javascript/jssamples/graphics_contextmenu.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 18:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631922#M58968</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-05-31T18:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Point, move to XY</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631923#M58969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the pointer.&amp;nbsp; What I'm really struggling with is how to go about passing an XY coordinate to the editor in order to "move" a selected feature.&amp;nbsp; It seems as though the "move" functionality only applies to mouse-clicks in a drag and drop kind of way...&amp;nbsp; I don't know if I need to use the snapping manager in some fashion, to snap my point to an XY coordinate?&amp;nbsp; I know I can get what I need using geoprocessing services (I've done it), but it is a really cumbersome process that does not run very quickly for the user.&amp;nbsp; So if I had a textbox for latitude, a textbox for longitude, how do I pass those values to the "selected" editable feature in such a way as to move that feature (and commit the edit)?&amp;nbsp; Anybody have an idea if this is possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 22:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-point-move-to-xy/m-p/631923#M58969</guid>
      <dc:creator>KenMorefield</dc:creator>
      <dc:date>2013-06-03T22:23:39Z</dc:date>
    </item>
  </channel>
</rss>

