<?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 make client-side feature layer draw across the IDL? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-client-side-feature-layer-draw-across/m-p/1258726#M80276</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/656235"&gt;@platmoskito&lt;/a&gt;! Depending on the spatial reference you're working in, maybe the normalize utils could help?&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-normalizeUtils.html" target="_self"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-normalizeUtils.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 22:40:51 GMT</pubDate>
    <dc:creator>SamEngel</dc:creator>
    <dc:date>2023-02-15T22:40:51Z</dc:date>
    <item>
      <title>How to make client-side feature layer draw across the IDL?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-client-side-feature-layer-draw-across/m-p/1256819#M80215</link>
      <description>&lt;P&gt;When a polygon is drawn on a server-side feature layer across the IDL I'm able to successfully cross the IDL (and not go the long way around the globe), by adding 360 degrees to my negative longitudes. I would like to know what the Feature Server is doing on the backend to make it possible for the geometry to plot on either side of the IDL. I tried drawing a polygon across the IDL with a client-side feature layer, but could only get it to show on one side of the IDL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried cutting the geometry along the IDL before calling client-side featureLayer's `applyEdits` (code below) but it's still not working. I think the feature server is doing something else to the shape on the backend to make it draw correctly. What am I doing wrong or not doing to get client-side feature layer to behave like server-side feature layer across the IDL?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; const IDLSplitter = new Polyline({&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; paths: [&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [180, -90],&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [180, 90]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; spatialReference: polygon.spatialReference&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; });&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; const cutGeometry = geometryEngine.cut(polygon, IDLSplitter);&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Feb 2023 00:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-client-side-feature-layer-draw-across/m-p/1256819#M80215</guid>
      <dc:creator>platmoskito</dc:creator>
      <dc:date>2023-02-10T00:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make client-side feature layer draw across the IDL?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-client-side-feature-layer-draw-across/m-p/1258726#M80276</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/656235"&gt;@platmoskito&lt;/a&gt;! Depending on the spatial reference you're working in, maybe the normalize utils could help?&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-normalizeUtils.html" target="_self"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-normalizeUtils.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 22:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-client-side-feature-layer-draw-across/m-p/1258726#M80276</guid>
      <dc:creator>SamEngel</dc:creator>
      <dc:date>2023-02-15T22:40:51Z</dc:date>
    </item>
  </channel>
</rss>

