<?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 bug: Feature layer graphic gets split along 180 degree line in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-feature-layer-graphic-gets-split-along-180/m-p/1232024#M79335</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem 2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56066i154CD26C06565D5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem 2.png" alt="problem 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, I'm trying to draw a continuous line across the 180 degree longitudinal line that is added to a feature layer, but am unable to do so. There seems to be an invisible knife that cuts whatever shape crosses this imaginary line. I want the line to be continuous so that the next time I select it, I can add it to a sketch layer and edit a single graphic instead of many pieces of the original graphic. Is there a solution or workaround for this? I have the hunch it is due to the webmercator conversion behind the scenes, but I'm really not knowlegable enough to dig further. Please any help would go a long way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a JS Bin that demonstrates the bug, and logs the split polyine geometry consisting of three split line segments:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/jizalaqora/1/edit?html,output" target="_blank" rel="noopener"&gt;https://jsbin.com/jizalaqora/1/edit?html,output&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ps: i have tested with arcgis v4.25&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 23:04:28 GMT</pubDate>
    <dc:creator>ironmaskito</dc:creator>
    <dc:date>2022-11-15T23:04:28Z</dc:date>
    <item>
      <title>bug: Feature layer graphic gets split along 180 degree line</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-feature-layer-graphic-gets-split-along-180/m-p/1232024#M79335</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem 2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56066i154CD26C06565D5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem 2.png" alt="problem 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, I'm trying to draw a continuous line across the 180 degree longitudinal line that is added to a feature layer, but am unable to do so. There seems to be an invisible knife that cuts whatever shape crosses this imaginary line. I want the line to be continuous so that the next time I select it, I can add it to a sketch layer and edit a single graphic instead of many pieces of the original graphic. Is there a solution or workaround for this? I have the hunch it is due to the webmercator conversion behind the scenes, but I'm really not knowlegable enough to dig further. Please any help would go a long way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a JS Bin that demonstrates the bug, and logs the split polyine geometry consisting of three split line segments:&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/jizalaqora/1/edit?html,output" target="_blank" rel="noopener"&gt;https://jsbin.com/jizalaqora/1/edit?html,output&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ps: i have tested with arcgis v4.25&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 23:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-feature-layer-graphic-gets-split-along-180/m-p/1232024#M79335</guid>
      <dc:creator>ironmaskito</dc:creator>
      <dc:date>2022-11-15T23:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: bug: Feature layer graphic gets split along 180 degree line</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-feature-layer-graphic-gets-split-along-180/m-p/1233352#M79387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/521961"&gt;@ironmaskito&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Unfortunately, this is a current limitation. As there are no coordinates beyond the limit of the coordinate system, the line is cut at the dateline to be a valid line.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As a workaround, you could use another basemap with a spatial reference that has a different central meridian (so that all your data is within its extent and doesn't get cut).&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Here's one example:&amp;nbsp;&lt;A href="https://codepen.io/gsoosalu/pen/MWXEbgb" target="_blank" rel="noopener"&gt;https://codepen.io/gsoosalu/pen/MWXEbgb.&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;I use here&amp;nbsp;&lt;A href="https://epsg.io/102025" target="_blank" rel="noopener"&gt;https://epsg.io/102025&lt;/A&gt;&amp;nbsp;but there are other similar spatial references such as&amp;nbsp;&amp;nbsp;&lt;A title="https://epsg.io/8858" href="https://epsg.io/8858" target="_blank" rel="noreferrer noopener"&gt;https://epsg.io/8858&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope this helps!&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Nov 2022 19:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-feature-layer-graphic-gets-split-along-180/m-p/1233352#M79387</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-11-18T19:02:08Z</dc:date>
    </item>
  </channel>
</rss>

