<?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: How to remove layer from legend in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326306#M30081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the legend look like in the mxd for the service?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 16:34:14 GMT</pubDate>
    <dc:creator>RickeyFight</dc:creator>
    <dc:date>2016-09-02T16:34:14Z</dc:date>
    <item>
      <title>How to remove layer from legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326305#M30080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I am doing something wrong. When I use the Legend for the example in API javascript I get an extra layer that is not on my map named other. How do I remove this from my Legend.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/219083_legend_other.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326305#M30080</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-02T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove layer from legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326306#M30081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the legend look like in the mxd for the service?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326306#M30081</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-09-02T16:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove layer from legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326307#M30082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I render&amp;nbsp;the layer in the web page. All the layer in that mxd are lines and points and one poly that is off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 16:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326307#M30082</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-02T16:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove layer from legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326308#M30083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look here:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/legend-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/legend-amd.html"&gt;Legend | API Reference | ArcGIS API for JavaScript 3.17&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It says in a few places that you can choose what layers display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="color: #4d4d4d; background-color: #fafafa; border-width: 1px 1px 0px; border-style: solid; border-color: #d9d9d9; font-size: 14px; margin: 0.1em 0px 0.3em;"&gt;&lt;TBODY&gt;&lt;TR style="border-bottom: 1px solid #ededed;"&gt;&lt;TD class="" style="background-color: #ffffff; border-width: 0px 0px 1px; border-style: solid; border-color: #d9d9d9; padding: 4px 1px 4px 5px;"&gt;&amp;lt;&lt;CODE style="background: transparent;"&gt;&lt;SPAN class=""&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" style="color: #00629b;"&gt;Object[]&lt;/A&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&amp;gt; layerInfos&lt;/TD&gt;&lt;TD class="" style="background-color: #ffffff; border-width: 0px 0px 1px; border-style: solid; border-color: #d9d9d9; padding: 4px 1px 4px 5px;"&gt;Optional&lt;/TD&gt;&lt;TD class="" style="background-color: #ffffff; border-width: 0px 0px 1px; border-style: solid; border-color: #d9d9d9; padding: 4px 1px 4px 5px;"&gt;Specify a subset of the layers in the map to display in the legend. If not set, all layers in the map will display in the legend. The order of the layers in the legend depends on the layerInfo array. See the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/legend-amd.html#layerinfos" style="color: #00629b;"&gt;&lt;CODE style="background: transparent;"&gt;layerInfos&lt;/CODE&gt;&lt;/A&gt; property description for a description of its object properties.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 22:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326308#M30083</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-09-02T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove layer from legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326309#M30084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set the legend property&amp;nbsp; "defaultsymbol:false"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2016 04:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-layer-from-legend/m-p/326309#M30084</guid>
      <dc:creator>yanli</dc:creator>
      <dc:date>2016-09-03T04:13:40Z</dc:date>
    </item>
  </channel>
</rss>

