<?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 SymbolConverter error message in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolconverter-error-message/m-p/628475#M58676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm using v4.0 of the JS API and am trying to use the PathSymbol3DLayer to represent a polyline as a tube.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having followed the samples, I have a 3d polyline coming from a map service which provides the URL to a featurelayer. I've created a SimpleRenderer with a LineSymbol3d which has a PathSymbol3DLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't set the renderer on the featurelayer, the polyline is displayed correctly as a flat line.&amp;nbsp; However when I apply the renderer to the featurelayer, I get the following message in the browser console:&lt;/P&gt;&lt;P&gt;SymbolConverter: don't know how to convert symbol of type 'Path'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody come across this problem before?&amp;nbsp; Below is my renderer and layer code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var alignmentRenderer = new SimpleRenderer({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol:new LineSymbol3D({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbolLayers: [new PathSymbol3DLayer({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size: 20,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; material: { color: [ 128,128,128 ] }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })
});

// Layer for depicting alignment below the surface
var alignmentLyr = new FeatureLayer({
&amp;nbsp;&amp;nbsp;&amp;nbsp; url: alignmentUrl,
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp; returnZ: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer: alignmentRenderer
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:45:48 GMT</pubDate>
    <dc:creator>CraigSturzaker1</dc:creator>
    <dc:date>2021-12-12T02:45:48Z</dc:date>
    <item>
      <title>SymbolConverter error message</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolconverter-error-message/m-p/628475#M58676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm using v4.0 of the JS API and am trying to use the PathSymbol3DLayer to represent a polyline as a tube.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having followed the samples, I have a 3d polyline coming from a map service which provides the URL to a featurelayer. I've created a SimpleRenderer with a LineSymbol3d which has a PathSymbol3DLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't set the renderer on the featurelayer, the polyline is displayed correctly as a flat line.&amp;nbsp; However when I apply the renderer to the featurelayer, I get the following message in the browser console:&lt;/P&gt;&lt;P&gt;SymbolConverter: don't know how to convert symbol of type 'Path'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody come across this problem before?&amp;nbsp; Below is my renderer and layer code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var alignmentRenderer = new SimpleRenderer({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol:new LineSymbol3D({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbolLayers: [new PathSymbol3DLayer({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size: 20,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; material: { color: [ 128,128,128 ] }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })
});

// Layer for depicting alignment below the surface
var alignmentLyr = new FeatureLayer({
&amp;nbsp;&amp;nbsp;&amp;nbsp; url: alignmentUrl,
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp; returnZ: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer: alignmentRenderer
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolconverter-error-message/m-p/628475#M58676</guid>
      <dc:creator>CraigSturzaker1</dc:creator>
      <dc:date>2021-12-12T02:45:48Z</dc:date>
    </item>
  </channel>
</rss>

