<?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 Changing internal SVG path created by lineSymbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-internal-svg-path-created-by-linesymbol/m-p/191136#M17627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LineSymbols are maintained by JS API as SVG path tags internally. &lt;/P&gt;&lt;P&gt;This statement &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphic._shape.rawNode&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;path fill="none" fill-opacity="0" stroke="rgb(255, 0, 0)" stroke-opacity="1" stroke-width="10" stroke-linecap="round" 
stroke-linejoin="miter" stroke-miterlimit="5" path="M 70,273 276,26" d="M 70 273 276 26" stroke-dasharray="none"
 dojoGfxStrokeStyle="solid"&amp;gt;&amp;lt;/path&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I change stroke-width to 20 by &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphic._shape.rawNode.setAttribute("stroke-width",20);&lt;/PRE&gt;&lt;P&gt;It retains the change upon zoom ins and outs but if I change path and&amp;nbsp; with different values it does not retain its value upon zooms.&lt;/P&gt;&lt;P&gt;It changes to new value and reflects changes on shape but upon zoom it falls back to original value and shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change its value so that I can draw complex area shapes?&lt;/P&gt;&lt;P&gt;Is there any other way to change it property&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 09:36:42 GMT</pubDate>
    <dc:creator>omega_cancer</dc:creator>
    <dc:date>2021-12-11T09:36:42Z</dc:date>
    <item>
      <title>Changing internal SVG path created by lineSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-internal-svg-path-created-by-linesymbol/m-p/191136#M17627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LineSymbols are maintained by JS API as SVG path tags internally. &lt;/P&gt;&lt;P&gt;This statement &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphic._shape.rawNode&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;path fill="none" fill-opacity="0" stroke="rgb(255, 0, 0)" stroke-opacity="1" stroke-width="10" stroke-linecap="round" 
stroke-linejoin="miter" stroke-miterlimit="5" path="M 70,273 276,26" d="M 70 273 276 26" stroke-dasharray="none"
 dojoGfxStrokeStyle="solid"&amp;gt;&amp;lt;/path&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I change stroke-width to 20 by &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphic._shape.rawNode.setAttribute("stroke-width",20);&lt;/PRE&gt;&lt;P&gt;It retains the change upon zoom ins and outs but if I change path and&amp;nbsp; with different values it does not retain its value upon zooms.&lt;/P&gt;&lt;P&gt;It changes to new value and reflects changes on shape but upon zoom it falls back to original value and shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change its value so that I can draw complex area shapes?&lt;/P&gt;&lt;P&gt;Is there any other way to change it property&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-internal-svg-path-created-by-linesymbol/m-p/191136#M17627</guid>
      <dc:creator>omega_cancer</dc:creator>
      <dc:date>2021-12-11T09:36:42Z</dc:date>
    </item>
  </channel>
</rss>

