<?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: How to update graphic location as you drag (extent type) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095712#M74570</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I use (ArcJSAPI 4.4), which is Extent(new Extent(( xmin, xmax, ymin, ymax, spatialReference: xxx));) instead of Point.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 08:42:47 GMT</pubDate>
    <dc:creator>yuray</dc:creator>
    <dc:date>2021-09-06T08:42:47Z</dc:date>
    <item>
      <title>How to update graphic location as you drag (extent type)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095692#M74567</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I'm wondering how to make the graphic follow the cursor as I drag it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 07:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095692#M74567</guid>
      <dc:creator>yuray</dc:creator>
      <dc:date>2021-09-06T07:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to update graphic location as you drag (extent type)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095708#M74569</link>
      <description>&lt;P&gt;In Javascript v3 I've done following:&lt;/P&gt;&lt;P&gt;this.map.on('mouse-drag-start', e=&amp;gt;{&lt;BR /&gt;this.map.disablePan()&lt;BR /&gt;this.startedMoving = true&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;this.map.on('mouse-drag', e=&amp;gt;{&lt;BR /&gt;if (!this.startedMoving) return&lt;BR /&gt;this.graphic.setGeometry(new Point(e.mapPoint.x, e.mapPoint.y, spatialReference))&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;this.map.on('mouse-drag-end', e=&amp;gt;{&lt;BR /&gt;this.map.enablePan()&lt;/P&gt;&lt;P&gt;})&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 08:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095708#M74569</guid>
      <dc:creator>LinasSpraunius</dc:creator>
      <dc:date>2021-09-06T08:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to update graphic location as you drag (extent type)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095712#M74570</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I use (ArcJSAPI 4.4), which is Extent(new Extent(( xmin, xmax, ymin, ymax, spatialReference: xxx));) instead of Point.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 08:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-update-graphic-location-as-you-drag-extent/m-p/1095712#M74570</guid>
      <dc:creator>yuray</dc:creator>
      <dc:date>2021-09-06T08:42:47Z</dc:date>
    </item>
  </channel>
</rss>

