<?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 How to make graphic not moving when drag the map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1086464#M74173</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question, I use&amp;nbsp;SketchViewModel to draw the shape on map, I want to keep the&amp;nbsp;shape located in center (not moving) when the map is moving by pan or drag; how can I implement it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 06:51:11 GMT</pubDate>
    <dc:creator>howard</dc:creator>
    <dc:date>2021-08-06T06:51:11Z</dc:date>
    <item>
      <title>How to make graphic not moving when drag the map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1086464#M74173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question, I use&amp;nbsp;SketchViewModel to draw the shape on map, I want to keep the&amp;nbsp;shape located in center (not moving) when the map is moving by pan or drag; how can I implement it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 06:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1086464#M74173</guid>
      <dc:creator>howard</dc:creator>
      <dc:date>2021-08-06T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make graphic not moving when drag the map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1087077#M74208</link>
      <description>&lt;P&gt;Get the extent of the map.&lt;BR /&gt;Pick a corner of the map and store it in a variable (startingPoint).&lt;BR /&gt;&lt;BR /&gt;Listen for the map to move. When it does, get the new extent.&lt;BR /&gt;Check the change from startingPoint to the new extent. (Ex. +3 degrees lat, -2 long)&lt;BR /&gt;&lt;BR /&gt;Get the geometry of the shape you drew.&lt;BR /&gt;Loop through each point on the shape and adjust the coordinates by the same amount the startingPoint shifted.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1087077#M74208</guid>
      <dc:creator>CourtneyMenikheim</dc:creator>
      <dc:date>2021-08-09T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make graphic not moving when drag the map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1087330#M74222</link>
      <description>&lt;P&gt;Thanks! Good solution.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 00:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-graphic-not-moving-when-drag-the-map/m-p/1087330#M74222</guid>
      <dc:creator>howard</dc:creator>
      <dc:date>2021-08-10T00:26:50Z</dc:date>
    </item>
  </channel>
</rss>

