<?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 ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1070682#M73566</link>
    <description>&lt;P&gt;We developed an application&amp;nbsp;using the version 3 API and used SimpleMarkerSymbols with an SVG path to produce the expected symbol. However, using a similar input for version 4 API, the result does not show properly and I'm wondering if this is just a bug. I created a simple test case of a svg path for a circle with an X inside. The image on the left shows the version 4 API compared to the version 3 API on the right side.&amp;nbsp;&lt;BR /&gt;Version 4 API seems to pixelize the symbol and does not show the second path for the X at all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="svg_diff.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16523i151E2C283EEC80FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="svg_diff.PNG" alt="svg_diff.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also created two example CodePens that show&amp;nbsp;the differences.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/GRWLpmJ" target="_blank"&gt;https://codepen.io/j_rsg/pen/GRWLpmJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/XWMQmMY" target="_blank"&gt;https://codepen.io/j_rsg/pen/XWMQmMY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced similar issues when converting their version 3 svg symbols&amp;nbsp;to version 4 or can comment if this is a known&amp;nbsp;issue? Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 20:08:35 GMT</pubDate>
    <dc:creator>j_rsg</dc:creator>
    <dc:date>2021-06-21T20:08:35Z</dc:date>
    <item>
      <title>ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1070682#M73566</link>
      <description>&lt;P&gt;We developed an application&amp;nbsp;using the version 3 API and used SimpleMarkerSymbols with an SVG path to produce the expected symbol. However, using a similar input for version 4 API, the result does not show properly and I'm wondering if this is just a bug. I created a simple test case of a svg path for a circle with an X inside. The image on the left shows the version 4 API compared to the version 3 API on the right side.&amp;nbsp;&lt;BR /&gt;Version 4 API seems to pixelize the symbol and does not show the second path for the X at all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="svg_diff.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16523i151E2C283EEC80FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="svg_diff.PNG" alt="svg_diff.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also created two example CodePens that show&amp;nbsp;the differences.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/GRWLpmJ" target="_blank"&gt;https://codepen.io/j_rsg/pen/GRWLpmJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/XWMQmMY" target="_blank"&gt;https://codepen.io/j_rsg/pen/XWMQmMY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced similar issues when converting their version 3 svg symbols&amp;nbsp;to version 4 or can comment if this is a known&amp;nbsp;issue? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 20:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1070682#M73566</guid>
      <dc:creator>j_rsg</dc:creator>
      <dc:date>2021-06-21T20:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1070794#M73570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/408423"&gt;@j_rsg&lt;/a&gt;,&amp;nbsp;I'm not entirely sure why this works in 3x but not in 4x, but I googled an svg with a circle and a cross and I found that this works with 4x:&amp;nbsp;&lt;A href="https://codepen.io/noash/pen/JjWqWBd?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/JjWqWBd?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 00:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1070794#M73570</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-06-22T00:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071201#M73585</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you've shown, a similar svg symbol can be displayed with a different path for my examples. I also am not very familiar with svg and perhaps this just comes down to different supported svg standards between 3x and 4x?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The symbol examples I gave are parts of more extensive dynamically generated symbols used in our application, so I'm really hoping to avoid a relearn/rewrite of those symbol paths to migrate to 4x.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 20:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071201#M73585</guid>
      <dc:creator>j_rsg</dc:creator>
      <dc:date>2021-06-22T20:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071462#M73596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;So after further testing I've narrowed the issue down further. 4x is distorting svg path curves and straight lines, but it is only evident once you increase the symbol size.&amp;nbsp;I presume it is happening at any size, it is just not visible with small symbols. It is most easily seen with no color fill and a large curve symbol. 3x has no such issues and always displays the curve or lines smoothly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a couple updated examples including a larger symbol of your example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/bGqPrRW?editors=1000" target="_blank"&gt;https://codepen.io/j_rsg/pen/bGqPrRW?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/abJgydQ?editors=1001" target="_blank"&gt;https://codepen.io/j_rsg/pen/abJgydQ?editors=1001&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 13:41:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071462#M73596</guid>
      <dc:creator>j_rsg</dc:creator>
      <dc:date>2021-06-23T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071595#M73603</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/408423"&gt;@j_rsg&lt;/a&gt;,&amp;nbsp;this is very helpful. There are rendering differences between 3x and 4x, but they should not be this different. We are investigating the issue, and I will respond to this thread when we have an update to share.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:30:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1071595#M73603</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-06-23T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1078246#M73838</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also discovered what looks like a related rendering issue where in many instances 4.x does not display svg line paths at all compared to 3.x. For example, if you change the path to:&lt;/P&gt;&lt;P&gt;path: "M62 16 l 0 38 M54 42"&lt;/P&gt;&lt;P&gt;You can see the 3.x outcome in the screenshot, but in 4.x it does not appear. I tried a number of different examples and always the same result. I updated the codepens below to include the line path commented out below the circle/cross paths.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/GRWLpmJ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://codepen.io/j_rsg/pen/GRWLpmJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/j_rsg/pen/XWMQmMY" target="_blank"&gt;https://codepen.io/j_rsg/pen/XWMQmMY&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 14:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1078246#M73838</guid>
      <dc:creator>j_rsg</dc:creator>
      <dc:date>2021-07-13T14:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API 4 not displaying SimpleMarkerSymbols using SVG path as expected compared to version 3 API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1078249#M73839</link>
      <description>&lt;P&gt;Thanks for the additional information. We are still investigating.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 14:41:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-not-displaying/m-p/1078249#M73839</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-07-13T14:41:34Z</dc:date>
    </item>
  </channel>
</rss>

