<?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: JSAPI Editor Dijit merge operation moves polygon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590344#M55168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ken!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As strange as this may sound, I'm glad this is not an IE exclusive issue &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Do you have any additional details about how this issue was fixed previously and what was the root cause?&lt;/P&gt;&lt;P&gt;Are you using mouse events or drag events for map interaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code always welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 17:56:21 GMT</pubDate>
    <dc:creator>JonathanUihlein</dc:creator>
    <dc:date>2014-09-18T17:56:21Z</dc:date>
    <item>
      <title>JSAPI Editor Dijit merge operation moves polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590341#M55165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a custom JavaScript API based application that loads an ArcGIS Online Webmap from our organization and lets the user edit the shapes of polygons in a specific layer. Initially, the polygons all cover a specific area, and there are no gaps in between them. The application loads the Editor Dijit, and configurations plus event handlers limit the Editor Dijit to the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Edit Feature Attributes&lt;/LI&gt;&lt;LI&gt;Draw new polygons&lt;/LI&gt;&lt;LI&gt;Autocomplete polygons&lt;/LI&gt;&lt;LI&gt;Cut features&lt;/LI&gt;&lt;LI&gt;Merge features.&lt;/LI&gt;&lt;LI&gt;Undo and Redo&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Problem: When the user cuts a polygon, the two pieces look okay. But when the two features are selected and merged, the new polygon is displaced by two to three pixels in some random direction. The merged shape is maintained, but it looks like it slid over a little bit. This creates gaps and overlaps in the polygons where there weren't any before. When we look at the data in ArcMap, we see the same gaps and overlaps in the edited polygon. While the displacement appears to be a couple pixels off, that translates to about 10 foot gaps in our data.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For right now, we don't have a topology on these features, since the extra checks and balances they add reduce the performance of other operations. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? I'll be happy to post bits of my code when I have time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 21:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590341#M55165</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2014-09-17T21:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Editor Dijit merge operation moves polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590342#M55166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken, thanks for posting! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What browser were you using? &lt;/LI&gt;&lt;LI&gt;If it was IE, what version specifically?&lt;/LI&gt;&lt;LI&gt;If it was IE, does this issue also occur in Chrome, Firefox when using the same exact use-case?&lt;/LI&gt;&lt;LI&gt;Are you using a template application or is this a completely new in-house application?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any code snippets are also much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 22:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590342#M55166</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-09-17T22:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Editor Dijit merge operation moves polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590343#M55167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First noticed it in Chrome, and it was repeatable in FireFox and IE 11.&lt;/LI&gt;&lt;LI&gt;We are using a new in-house application.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'll post some snippets in the morning, once I have access to my machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side note, we confirmed that the spatial reference of the data matched the spatial reference of the basemap behind it (Ohio State Plane). We thought we fixed the issue before when the map used the Web Mercator basemaps provided by ArcGIS Online. Now the issue has creeped up again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 04:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590343#M55167</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2014-09-18T04:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Editor Dijit merge operation moves polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590344#M55168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ken!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As strange as this may sound, I'm glad this is not an IE exclusive issue &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Do you have any additional details about how this issue was fixed previously and what was the root cause?&lt;/P&gt;&lt;P&gt;Are you using mouse events or drag events for map interaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code always welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 17:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590344#M55168</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-09-18T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI Editor Dijit merge operation moves polygon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590345#M55169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops, forgot to note the answer after further investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changes to the feature class shape after merging were due to projection differences. The web map, which used ESRI base map layers, was in Web Mercator, while the edited data was in a State Plane projection. Once base maps were switched out so both the map and the edited layer were in the same State Plane projection, gaps showed much less frequently (apart from accidentally dragging parcels a pixel or two over while selecting them).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Word to the wise: Mind your projections, especially while editing. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 17:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-editor-dijit-merge-operation-moves-polygon/m-p/590345#M55169</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2016-01-28T17:55:27Z</dc:date>
    </item>
  </channel>
</rss>

