<?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 add line symbol with single-sided outline? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174281#M77321</link>
    <description>&lt;P&gt;Is there a way to render a line symbol that has an outline on &lt;EM&gt;only one side&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;I know a workaround for a line with an outline on &lt;EM&gt;both&lt;/EM&gt; sides could be achieved by rendering two overlapping lines with one below the other at a greater width, but a one-sided outline seems trickier.&lt;/P&gt;&lt;P&gt;This is a feature that is supported by other ArcGIS products, but it doesn't seem there's a way to do it for the JS API. Attached screenshot is how it should look, taken from&amp;nbsp;&lt;SPAN&gt;ArcGIS Enterprise&lt;/SPAN&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 18:19:49 GMT</pubDate>
    <dc:creator>mmqn</dc:creator>
    <dc:date>2022-05-16T18:19:49Z</dc:date>
    <item>
      <title>How to add line symbol with single-sided outline?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174281#M77321</link>
      <description>&lt;P&gt;Is there a way to render a line symbol that has an outline on &lt;EM&gt;only one side&lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;I know a workaround for a line with an outline on &lt;EM&gt;both&lt;/EM&gt; sides could be achieved by rendering two overlapping lines with one below the other at a greater width, but a one-sided outline seems trickier.&lt;/P&gt;&lt;P&gt;This is a feature that is supported by other ArcGIS products, but it doesn't seem there's a way to do it for the JS API. Attached screenshot is how it should look, taken from&amp;nbsp;&lt;SPAN&gt;ArcGIS Enterprise&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 18:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174281#M77321</guid>
      <dc:creator>mmqn</dc:creator>
      <dc:date>2022-05-16T18:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add line symbol with single-sided outline?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174319#M77323</link>
      <description>&lt;P&gt;You can use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html" target="_self"&gt;CIMSymbol&lt;/A&gt; to do this - here's an example:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/BaYpqKd" target="_blank"&gt;https://codepen.io/annefitz/pen/BaYpqKd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 19:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174319#M77323</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-05-16T19:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add line symbol with single-sided outline?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174335#M77324</link>
      <description>&lt;P&gt;This is great; thank you so much!&lt;/P&gt;&lt;P&gt;For posterity, the solution was to add a second line in the same layer with a CIMGeometricEffectOffset effect.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 20:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-line-symbol-with-single-sided-outline/m-p/1174335#M77324</guid>
      <dc:creator>mmqn</dc:creator>
      <dc:date>2022-05-16T20:26:00Z</dc:date>
    </item>
  </channel>
</rss>

