<?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 Representing a line feature layer with Markersymbols in ArcGIS JS API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198405#M18398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am&amp;nbsp; setting a scale dependant renderer for a FeatureLayer of line geometry type, so that in samller scale it can shown as a marker symbol and in higher scale it can be shown as a Line symbol. When I tried to apply a SimpleMarkerSymbol to this layer , it is not working. I followed same strategy for a Polygon type feature layer and found it is working perfectly. I am using ArcGIS JS API 3.11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know what is the problem with line feature layer, Can anybody help with a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shabeerali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Dec 2014 08:37:27 GMT</pubDate>
    <dc:creator>shabeerali</dc:creator>
    <dc:date>2014-12-25T08:37:27Z</dc:date>
    <item>
      <title>Representing a line feature layer with Markersymbols in ArcGIS JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198405#M18398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am&amp;nbsp; setting a scale dependant renderer for a FeatureLayer of line geometry type, so that in samller scale it can shown as a marker symbol and in higher scale it can be shown as a Line symbol. When I tried to apply a SimpleMarkerSymbol to this layer , it is not working. I followed same strategy for a Polygon type feature layer and found it is working perfectly. I am using ArcGIS JS API 3.11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know what is the problem with line feature layer, Can anybody help with a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shabeerali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 08:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198405#M18398</guid>
      <dc:creator>shabeerali</dc:creator>
      <dc:date>2014-12-25T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Representing a line feature layer with Markersymbols in ArcGIS JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198406#M18399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for polygons, haven't tried with lines though. You can set the renderer to display markers.&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsbin.com/foxex/1/edit?js,output" title="http://jsbin.com/foxex/1/edit?js,output" rel="nofollow noopener noreferrer" target="_blank"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;var layer = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;SPAN&gt;", {&lt;/SPAN&gt;
&amp;nbsp; outFields: ["*"],
&amp;nbsp; infoTemplate: new InfoTemplate("${STATE_NAME}")
});
var markerSym = new SimpleMarkerSymbol();
markerSym.setColor(new Color("#78B378"));
markerSym.setOutline(markerSym.outline.setColor(new Color([133,197,133,0.75])));
var renderer1 = new SimpleRenderer(markerSym); 
layer.setRenderer(ren&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198406#M18399</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-11T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Representing a line feature layer with Markersymbols in ArcGIS JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198407#M18400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already tried for polygons and able to represent with Marker symbols, but for line while I am setting renderer with Markersymbol it not appearing, Can You try your example with line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2014 09:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198407#M18400</guid>
      <dc:creator>shabeerali</dc:creator>
      <dc:date>2014-12-28T09:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Representing a line feature layer with Markersymbols in ArcGIS JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198408#M18401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is still not working after 4years. Did you resolve it Ali?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 01:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/representing-a-line-feature-layer-with/m-p/198408#M18401</guid>
      <dc:creator>MichalGasparovic</dc:creator>
      <dc:date>2019-02-01T01:18:35Z</dc:date>
    </item>
  </channel>
</rss>

