<?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 Handle drag point with connected lines in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handle-drag-point-with-connected-lines/m-p/1575734#M86384</link>
    <description>&lt;P&gt;I have a case in application where user can drag a point added to the map earlier with lines connected to it (one end of the line has same coordinates as the point).&amp;nbsp; Point and lines are graphics of GraphicLayer. All of the actions are handled by &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html" target="_blank" rel="noopener"&gt;SketchViewModel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anyone aware what would be best way to handle the case described? I've tried to on a update event&lt;/P&gt;&lt;P&gt;when&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;event.&lt;SPAN&gt;state &lt;/SPAN&gt;=== &lt;SPAN&gt;'active' &lt;/SPAN&gt;&amp;amp;&amp;amp;&lt;BR /&gt;event.&lt;SPAN&gt;toolEventInfo&lt;/SPAN&gt;.&lt;SPAN&gt;type &lt;/SPAN&gt;=== &lt;SPAN&gt;'move'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to get new coordinates of the point user drags and update with it line coordinates of the end that is connected to the point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works smooth if user drags slowly. But If dragging is done harshly weird behaviour happens.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Jan 2025 11:22:28 GMT</pubDate>
    <dc:creator>AnastasiiaD</dc:creator>
    <dc:date>2025-01-15T11:22:28Z</dc:date>
    <item>
      <title>Handle drag point with connected lines</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handle-drag-point-with-connected-lines/m-p/1575734#M86384</link>
      <description>&lt;P&gt;I have a case in application where user can drag a point added to the map earlier with lines connected to it (one end of the line has same coordinates as the point).&amp;nbsp; Point and lines are graphics of GraphicLayer. All of the actions are handled by &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html" target="_blank" rel="noopener"&gt;SketchViewModel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anyone aware what would be best way to handle the case described? I've tried to on a update event&lt;/P&gt;&lt;P&gt;when&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;event.&lt;SPAN&gt;state &lt;/SPAN&gt;=== &lt;SPAN&gt;'active' &lt;/SPAN&gt;&amp;amp;&amp;amp;&lt;BR /&gt;event.&lt;SPAN&gt;toolEventInfo&lt;/SPAN&gt;.&lt;SPAN&gt;type &lt;/SPAN&gt;=== &lt;SPAN&gt;'move'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to get new coordinates of the point user drags and update with it line coordinates of the end that is connected to the point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works smooth if user drags slowly. But If dragging is done harshly weird behaviour happens.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Jan 2025 11:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/handle-drag-point-with-connected-lines/m-p/1575734#M86384</guid>
      <dc:creator>AnastasiiaD</dc:creator>
      <dc:date>2025-01-15T11:22:28Z</dc:date>
    </item>
  </channel>
</rss>

