<?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 Re: Error in using LineSymbolMarker in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023529#M71642</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The type should be "simple-line" instead of "line-marker". Hope this helps!&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 17:20:41 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2021-02-04T17:20:41Z</dc:date>
    <item>
      <title>Error in using LineSymbolMarker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023525#M71640</link>
      <description>&lt;P&gt;I need to show arrow in poly line. So i tired&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbolMarker.html#declaredClass" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbolMarker.html#declaredClass&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I try using&amp;nbsp;LineSymbolMarker, try to define symbol as&amp;nbsp;&lt;/P&gt;&lt;P&gt;var simpleLineSymbol = {&lt;BR /&gt;type: "line-marker",&lt;BR /&gt;color: "orange", // orange&lt;BR /&gt;width: 1.5,&lt;BR /&gt;marker: { // autocasts from LineSymbolMarker&lt;BR /&gt;style: "arrow",&lt;BR /&gt;color: "blue",&lt;BR /&gt;placement: "begin"&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it showing plane black line instead of line with arrow and below error also coming:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[esri.core.Accessor] Accessor#set Invalid property value, value needs to be one of 'esri.symbols.SimpleFillSymbol', 'esri.symbols.PictureFillSymbol', 'esri.symbols.PictureMarkerSymbol', 'esri.symbols.SimpleLineSymbol', 'esri.symbols.SimpleMarkerSymbol', 'esri.symbols.TextSymbol', 'esri.symbols.LabelSymbol3D', 'esri.symbols.LineSymbol3D', 'esri.symbols.MeshSymbol3D', 'esri.symbols.PointSymbol3D', 'esri.symbols.PolygonSymbol3D', 'esri.symbols.WebStyleSymbol', 'esri.symbols.CIMSymbol', or a plain object that can autocast (having .type = 'simple-fill', 'picture-fill', 'picture-marker', 'simple-line', 'simple-marker', 'text', 'label-3d', 'line-3d', 'mesh-3d', 'point-3d', 'polygon-3d', 'web-style', 'cim')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest what to do ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023525#M71640</guid>
      <dc:creator>rajeshesri01</dc:creator>
      <dc:date>2021-02-04T17:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in using LineSymbolMarker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023526#M71641</link>
      <description>&lt;P&gt;I am using&amp;nbsp;&lt;A href="https://js.arcgis.com/4.16/" target="_blank"&gt;https://js.arcgis.com/4.16/&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023526#M71641</guid>
      <dc:creator>rajeshesri01</dc:creator>
      <dc:date>2021-02-04T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error in using LineSymbolMarker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023529#M71642</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The type should be "simple-line" instead of "line-marker". Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023529#M71642</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-02-04T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in using LineSymbolMarker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023533#M71643</link>
      <description>&lt;P&gt;Thanks it worked. But in manual it mentioned&amp;nbsp;&lt;SPAN&gt;For&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbolMarker.html#type" target="_blank"&gt;LineSymbolMarker&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;the type is always&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="type-signature type-name"&gt;"line-marker"&lt;/SPAN&gt;&lt;SPAN&gt;. Might be some misinformation. Thanks for you help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023533#M71643</guid>
      <dc:creator>rajeshesri01</dc:creator>
      <dc:date>2021-02-04T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in using LineSymbolMarker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023543#M71644</link>
      <description>&lt;P&gt;No - that's true, the LineSymbolMarker is just being autocast on the SimpleLineSymbol.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var simpleLineSymbol = {
  type: "simple-line",
  color: "orange", // orange
  width: 1.5, 
  marker: { // autocasts from LineSymbolMarker
    type: "line-marker",
    style: "arrow",
    color: "blue",
    placement: "begin"
  }
};&lt;/LI-CODE&gt;&lt;P&gt;You could add the type: "line-marker" on the marker property - but you don't have to since it is autocast. Hope this helps clear things up!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-using-linesymbolmarker/m-p/1023543#M71644</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-02-04T17:32:45Z</dc:date>
    </item>
  </channel>
</rss>

