<?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 Setting Layer Definition doesn't allow me to remove the layers in the Live Map Widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-layer-definition-doesn-t-allow-me-to/m-p/155094#M14423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have issues with the Layer Defintion. Thanks in advance for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating a dynamic map (which has 17 layers), but, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer = new esri.layers.ArcGISDynamicMapServiceLayer(mapServiceInfo.url, {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; id: mapServiceInfo.label,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; opacity: parseFloat(mapServiceInfo.alpha),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; useMapImage:true,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; visible: mapServiceInfo.visible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.setLayerDefinitions(layerDefs);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am setting the layer definition to filter the layers by state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, when I do this, the Live Map Widget see's all the 17 layers as one and I cannot take one layer after another in the Live Map Widget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Apr 2010 15:35:53 GMT</pubDate>
    <dc:creator>PrakashMukkamala</dc:creator>
    <dc:date>2010-04-28T15:35:53Z</dc:date>
    <item>
      <title>Setting Layer Definition doesn't allow me to remove the layers in the Live Map Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-layer-definition-doesn-t-allow-me-to/m-p/155094#M14423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have issues with the Layer Defintion. Thanks in advance for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating a dynamic map (which has 17 layers), but, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer = new esri.layers.ArcGISDynamicMapServiceLayer(mapServiceInfo.url, {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; id: mapServiceInfo.label,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; opacity: parseFloat(mapServiceInfo.alpha),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; useMapImage:true,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; visible: mapServiceInfo.visible&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.setLayerDefinitions(layerDefs);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am setting the layer definition to filter the layers by state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, when I do this, the Live Map Widget see's all the 17 layers as one and I cannot take one layer after another in the Live Map Widget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 15:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-layer-definition-doesn-t-allow-me-to/m-p/155094#M14423</guid>
      <dc:creator>PrakashMukkamala</dc:creator>
      <dc:date>2010-04-28T15:35:53Z</dc:date>
    </item>
  </channel>
</rss>

