<?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: Web Map layers to make groups to turn on and off multiple layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/web-map-layers-to-make-groups-to-turn-on-and-off/m-p/217622#M20208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure it would as simple as adding a button with logic for getting your maps layer and determining if the layer name matches your desired layers and then using layer.visible = true or false:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible" title="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible"&gt;https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 12:51:53 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-05-03T12:51:53Z</dc:date>
    <item>
      <title>Web Map layers to make groups to turn on and off multiple layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/web-map-layers-to-make-groups-to-turn-on-and-off/m-p/217621#M20207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web map with multiple layers.&lt;/P&gt;&lt;P&gt;Each layers have certain types such as -- trees, flowers, veggies / railway, road, sidewalk, highways&lt;/P&gt;&lt;P&gt;I want to find out if this is possible; add a button that enable all three tree, flowers and veggies layers and disable all, and the other button enable and disable railway, road, sidewalk and highways.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 23:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/web-map-layers-to-make-groups-to-turn-on-and-off/m-p/217621#M20207</guid>
      <dc:creator>PitDev</dc:creator>
      <dc:date>2017-05-02T23:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Web Map layers to make groups to turn on and off multiple layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/web-map-layers-to-make-groups-to-turn-on-and-off/m-p/217622#M20208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure it would as simple as adding a button with logic for getting your maps layer and determining if the layer name matches your desired layers and then using layer.visible = true or false:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible" title="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible"&gt;https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#visible&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 12:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/web-map-layers-to-make-groups-to-turn-on-and-off/m-p/217622#M20208</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-05-03T12:51:53Z</dc:date>
    </item>
  </channel>
</rss>

