<?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: Legend_HideLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406541#M37497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ivo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/90341-Should-Not-include-Basemap-layer-in-Legend"&gt;this thread&lt;/A&gt;&lt;SPAN&gt; should help you. Just tell the Legend which layers to show and it won't show the ones you don't want to show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 11:19:16 GMT</pubDate>
    <dc:creator>TimWitt</dc:creator>
    <dc:date>2014-04-29T11:19:16Z</dc:date>
    <item>
      <title>Legend_HideLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406540#M37496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, i would like to hide some layers from my legend, i know ID´s of layer which i want hide, but i dont know how to use LayerInfo: HideLayers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my legend, please can you give me some example how to hide layers, thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var legend = new Legend({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "legendDiv");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; legend.refresh([{layer:dynamicMapServiceLayer, title:'Vodstov '}]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; legend.startup();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406540#M37496</guid>
      <dc:creator>IvoSajer</dc:creator>
      <dc:date>2014-04-29T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Legend_HideLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406541#M37497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ivo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/90341-Should-Not-include-Basemap-layer-in-Legend"&gt;this thread&lt;/A&gt;&lt;SPAN&gt; should help you. Just tell the Legend which layers to show and it won't show the ones you don't want to show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406541#M37497</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-04-29T11:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Legend_HideLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406542#M37498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;add another vote for a hideLayer method.&amp;nbsp; I have alot of services.&amp;nbsp; I would love to hide one or two from showing up in the legend without having to hardcode the dozens of others.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 12:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406542#M37498</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-04-29T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Legend_HideLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406543#M37499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ivo and Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/64933-legend-hideLayer-for-tiled-map-service"&gt;this post&lt;/A&gt;&lt;SPAN&gt;. The posted fiddle should help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 12:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406543#M37499</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-04-29T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Legend_HideLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406544#M37500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answers, its working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 08:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-hidelayer/m-p/406544#M37500</guid>
      <dc:creator>IvoSajer</dc:creator>
      <dc:date>2014-05-02T08:51:19Z</dc:date>
    </item>
  </channel>
</rss>

