<?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: Toggle Feature Layer with a checkbox in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7307#M707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Tim, &lt;BR /&gt;&lt;BR /&gt;Are you saying I can load the&amp;nbsp; "esri/layers/FeatureLayer" module and switch "ArcGISDynamicMapServiceLayer" to "FeatureLayer" when defining the variables for the service?&amp;nbsp; I'm not having luck doing that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wait wait wait, I got it to work.&amp;nbsp; You still have to reference a specific layer in the service url, as always.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Tim!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 17:23:40 GMT</pubDate>
    <dc:creator>GregoryMeyer</dc:creator>
    <dc:date>2014-04-08T17:23:40Z</dc:date>
    <item>
      <title>Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7299#M699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the simplest way to use a checkbox input to toggle the visibility of a featureLayer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7299#M699</guid>
      <dc:creator>NickKouloungis</dc:creator>
      <dc:date>2014-03-07T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7300#M700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jssamples/widget_legendvisible.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/widget_legendvisible.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 11:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7300#M700</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-03-07T11:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7301#M701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example you gave me was very helpful and gave me the answers I've been looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 20:28:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7301#M701</guid>
      <dc:creator>NickKouloungis</dc:creator>
      <dc:date>2014-03-07T20:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7302#M702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The sample provided shows the layers on the map in the legend.&amp;nbsp; Is this legend dynamic where is will only show the symbology of layers in the map's extent (e.g. If a layer has 100 symbology classes, but only 5 appear in the map's extent, does the legend for that layer shrink to 5 swatches)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 15:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7302#M702</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-03-08T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7303#M703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The legend will only show the layers of toggled feature. Meaning, all checked layers will show in your legend, doesn't matter if they are in your extend or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 12:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7303#M703</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-03-10T12:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7304#M704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Nick,&lt;BR /&gt;&lt;BR /&gt;I am using this &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_legendvisible.html"&gt;https://developers.arcgis.com/javascript/jssamples/widget_legendvisible.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This example, along with the rest of the examples I can find, only show how to toggle dynamic layers.&amp;nbsp; Does anyone know of an example on how to create a simple checkbox toggle for FeatureLayers?&amp;nbsp; Need to use FeatureLayers for the popup templates?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 16:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7304#M704</guid>
      <dc:creator>GregoryMeyer</dc:creator>
      <dc:date>2014-04-08T16:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7305#M705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greg,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this works with every type of layer. Shouldn't make a difference if you use feature layers.&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, 08 Apr 2014 16:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7305#M705</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-04-08T16:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7306#M706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Greg,&lt;BR /&gt;&lt;BR /&gt;this works with every type of layer. Shouldn't make a difference if you use feature layers.&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tim, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying I can load the&amp;nbsp; "esri/layers/FeatureLayer" module and switch "ArcGISDynamicMapServiceLayer" to "FeatureLayer" when defining the variables for the service?&amp;nbsp; I'm not having luck doing that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 16:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7306#M706</guid>
      <dc:creator>GregoryMeyer</dc:creator>
      <dc:date>2014-04-08T16:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Feature Layer with a checkbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7307#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Tim, &lt;BR /&gt;&lt;BR /&gt;Are you saying I can load the&amp;nbsp; "esri/layers/FeatureLayer" module and switch "ArcGISDynamicMapServiceLayer" to "FeatureLayer" when defining the variables for the service?&amp;nbsp; I'm not having luck doing that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wait wait wait, I got it to work.&amp;nbsp; You still have to reference a specific layer in the service url, as always.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Tim!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 17:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/toggle-feature-layer-with-a-checkbox/m-p/7307#M707</guid>
      <dc:creator>GregoryMeyer</dc:creator>
      <dc:date>2014-04-08T17:23:40Z</dc:date>
    </item>
  </channel>
</rss>

