<?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 Change svg path on a symbol dynamically in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-svg-path-on-a-symbol-dynamically/m-p/1366612#M83264</link>
    <description>&lt;P&gt;I am try to update an &lt;STRONG&gt;svg path&lt;/STRONG&gt; on a symbol dynamically AFTER it is rendered on the Map. I suspect I need to do some kind of refresh or something but I haven't had any luck so far. This is a sample of what I am using for the symbol. I am just trying to change the "path" attribute in the symbol object and have that new svg path show up on the Map:&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;        let symbol = {
          type: 'simple-marker',
          color: 'red',
          size: '36px',
          path: 'M150 0 L75 200 L225 200 Z',
        };

        const polylineGraphic = new Graphic({
          geometry: {
            type: 'point',
            longitude: -113.074,
            latitude: 33.4484,
          },
          symbol: symbol,
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 23:18:22 GMT</pubDate>
    <dc:creator>JimBambrough</dc:creator>
    <dc:date>2024-01-04T23:18:22Z</dc:date>
    <item>
      <title>Change svg path on a symbol dynamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-svg-path-on-a-symbol-dynamically/m-p/1366612#M83264</link>
      <description>&lt;P&gt;I am try to update an &lt;STRONG&gt;svg path&lt;/STRONG&gt; on a symbol dynamically AFTER it is rendered on the Map. I suspect I need to do some kind of refresh or something but I haven't had any luck so far. This is a sample of what I am using for the symbol. I am just trying to change the "path" attribute in the symbol object and have that new svg path show up on the Map:&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;        let symbol = {
          type: 'simple-marker',
          color: 'red',
          size: '36px',
          path: 'M150 0 L75 200 L225 200 Z',
        };

        const polylineGraphic = new Graphic({
          geometry: {
            type: 'point',
            longitude: -113.074,
            latitude: 33.4484,
          },
          symbol: symbol,
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 23:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-svg-path-on-a-symbol-dynamically/m-p/1366612#M83264</guid>
      <dc:creator>JimBambrough</dc:creator>
      <dc:date>2024-01-04T23:18:22Z</dc:date>
    </item>
  </channel>
</rss>

