<?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: Sticky move tolerance for ArcGIS JavaScript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604553#M56611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My understanding is that you still want the editing functionality, but don't want the features to be moved accidentally. So you want to set a safe zone. If moving within that area, it's considered as unwanted editing. Is it right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to look at featureLayer.onBeforeApplyEdits(adds, updates, deletes) event, which fires before posting the editing to the server. At that point, you can compare the updates and existing geometries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 20:09:05 GMT</pubDate>
    <dc:creator>JianHuang</dc:creator>
    <dc:date>2013-05-07T20:09:05Z</dc:date>
    <item>
      <title>Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604549#M56607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to add sticky move tolerance to our project which we are creating. We have not found anything regarding that issue for the JavaScript part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know anything about that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sjonni, Iceland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 09:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604549#M56607</guid>
      <dc:creator>SigurjonJonsson</dc:creator>
      <dc:date>2013-05-03T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604550#M56608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean snapping when drawing or editing geometries?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the doc:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/snappingmanager.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/snappingmanager.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Some samples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Snapping with measurement tools:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/widget_measurement/"&gt;http://developers.arcgis.com/en/javascript/samples/widget_measurement/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Snapping with editor widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/ed_editing_widget/"&gt;http://developers.arcgis.com/en/javascript/samples/ed_editing_widget/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 20:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604550#M56608</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-03T20:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604551#M56609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I am not talking about snapping manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are creating a JavaScript project were we have a lot of features and we want to prevent users to accidentally move features. It would basically be the same feature as in ArcGIS desktop: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/21692-default-sticky-move-setting"&gt;http://forums.arcgis.com/threads/21692-default-sticky-move-setting&lt;/A&gt;&lt;SPAN&gt; but for JavaScript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this maybe not possible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 11:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604551#M56609</guid>
      <dc:creator>SigurjonJonsson</dc:creator>
      <dc:date>2013-05-06T11:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604552#M56610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample that might explain this better for you: &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/ed_simpletoolbar/"&gt;http://developers.arcgis.com/en/javascript/samples/ed_simpletoolbar/ &lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;In this project you can so easily move the features and we don´t want people to accidentally do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604552#M56610</guid>
      <dc:creator>SigurjonJonsson</dc:creator>
      <dc:date>2013-05-07T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604553#M56611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My understanding is that you still want the editing functionality, but don't want the features to be moved accidentally. So you want to set a safe zone. If moving within that area, it's considered as unwanted editing. Is it right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to look at featureLayer.onBeforeApplyEdits(adds, updates, deletes) event, which fires before posting the editing to the server. At that point, you can compare the updates and existing geometries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 20:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604553#M56611</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-07T20:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604554#M56612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sigurjon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I explored this a little bit further. Because there is no way to cancel an edit request even you decide that this is an accident in the onBeforeApplyEdits event, it seems manipulating editToolbar would be a more elegant solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the document:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/edit.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/edit.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Pay attention to onGraphicMoveStop(graphic, transform) and onVertexMoveStop(graphic, vertexInfo, transform). The transform gives the information about how far the graphic/vertex has been moved. If it's not far enough, you can move the graphic/vertex back to its original location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using editor widget, you can get reference to editToolbar by editor._editToolbar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 23:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604554#M56612</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-07T23:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604555#M56613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking into this and I will let you know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerey&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sjonni, Iceland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 10:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604555#M56613</guid>
      <dc:creator>SigurjonJonsson</dc:creator>
      <dc:date>2013-05-10T10:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604556#M56614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sjonni,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you able to find a fix for this issue?&amp;nbsp; I'd like to do the same, but in Flex.&amp;nbsp; It's so easy to accidentally pick up features and move them.&amp;nbsp; Very frustrating!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Najya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604556#M56614</guid>
      <dc:creator>NajyaBatool</dc:creator>
      <dc:date>2013-11-20T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604557#M56615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Najya.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I gave up. Yes it is very frustrating accidentally picking up features and move them, not what we want. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about that. Hope you find some good solutions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sjonni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604557#M56615</guid>
      <dc:creator>SigurjonJonsson</dc:creator>
      <dc:date>2013-11-20T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sticky move tolerance for ArcGIS JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604558#M56616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a shame.&amp;nbsp; Okay.&amp;nbsp; Thanks for getting back to me so quickly.&amp;nbsp; If I can figure out a work around, I'll definitely let you know.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Najya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 13:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sticky-move-tolerance-for-arcgis-javascript/m-p/604558#M56616</guid>
      <dc:creator>NajyaBatool</dc:creator>
      <dc:date>2013-11-20T13:04:54Z</dc:date>
    </item>
  </channel>
</rss>

