<?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: Can the CIMGeometricEffectBuffer be prevented from disconnecting from its 'parent' layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347852#M82741</link>
    <description>&lt;P&gt;I am using 4.24.7&lt;/P&gt;&lt;P&gt;If I downgrade your solution to 4.24 I get the same issue. It's obviously been fixed so I'll just upgrade. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 18:13:29 GMT</pubDate>
    <dc:creator>ViktorSafar</dc:creator>
    <dc:date>2023-11-09T18:13:29Z</dc:date>
    <item>
      <title>Can the CIMGeometricEffectBuffer be prevented from disconnecting from its 'parent' layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347726#M82735</link>
      <description>&lt;P&gt;I need a line symbol with an outline so I have used a&amp;nbsp;&lt;SPAN&gt;CIMLineSymbol with 2 layers of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CIMSolidStroke, one of them with a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CIMGeometricEffectBuffer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can the buffered element be made to stick to the 'parent' layer and not disconnect as it is shown on this GIF?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CIMGeometricEffectBuffer.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85508i823E650002D9D0E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CIMGeometricEffectBuffer.gif" alt="CIMGeometricEffectBuffer.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const createLineSymbol = (color, outlineColor) =&amp;gt; ({
  type: 'cim',
  data: {
    type: 'CIMSymbolReference',
    symbol: {
      type: 'CIMLineSymbol',
      symbolLayers: [
          {
              type: 'CIMSolidStroke',
              enable: 'true',
              effects: [{
                  type: 'CIMGeometricEffectBuffer',                
                  size: 3,
              }],
              capStyle: 'Butt',
              joinStyle: 'Round',
              width: 1,
              color: outlineColor
          },
          {
              type: 'CIMSolidStroke',
              enable: true,
              capStyle: 'Butt',
              joinStyle: 'Bevel',
              width: 6,
              color: color
          }
      ]
    }
  }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347726#M82735</guid>
      <dc:creator>ViktorSafar</dc:creator>
      <dc:date>2023-11-09T15:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can the CIMGeometricEffectBuffer be prevented from disconnecting from its 'parent' layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347775#M82737</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/607319"&gt;@ViktorSafar&lt;/a&gt;&amp;nbsp;- what version of the API are you using? And how are you drawing/moving the symbol in your map?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I just tried to repro with this same symbol and the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-Draw.html" target="_self"&gt;Draw&lt;/A&gt;&amp;nbsp;class and could not. It works as expected for me -&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/qBgmNBV?editors=100" target="_self"&gt;https://codepen.io/annefitz/pen/qBgmNBV?editors=100&lt;/A&gt;&amp;nbsp;(use the button in the top right to start drawing the line) &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="polyline-draw.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85517i7721B482D264C27B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polyline-draw.gif" alt="polyline-draw.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you could provide more info as to how this is happening, or even a reproducible example, that would be great. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347775#M82737</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2023-11-09T16:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can the CIMGeometricEffectBuffer be prevented from disconnecting from its 'parent' layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347852#M82741</link>
      <description>&lt;P&gt;I am using 4.24.7&lt;/P&gt;&lt;P&gt;If I downgrade your solution to 4.24 I get the same issue. It's obviously been fixed so I'll just upgrade. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 18:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-cimgeometriceffectbuffer-be-prevented-from/m-p/1347852#M82741</guid>
      <dc:creator>ViktorSafar</dc:creator>
      <dc:date>2023-11-09T18:13:29Z</dc:date>
    </item>
  </channel>
</rss>

