<?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 agsjs.dijit.TOC not displaying layer's symbology if not visible at startup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agsjs-dijit-toc-not-displaying-layer-s-symbology/m-p/444758#M41072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been using the TOC dijit for several projects now and it's really great!&amp;nbsp;&amp;nbsp; This is the first project I have with a layer that only displays once the user zooms closers.&amp;nbsp;&amp;nbsp; In my service, layer[0] are points drawn with a small gray dot.&amp;nbsp; As the user zooms to a closer scale, these simple dots turn off and layer[1] takes over, drawing a more complex symbol, classifying these by type instead. I should mention that Layer [0] and Layer [1] reference the same data, the difference is in how they are symbolized and their scale thresholds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My issue is in how the TOC dijit behaves.&amp;nbsp; The symbols for layer[1] never get loaded, I assume because this layer isn't visible at startup.&amp;nbsp; However, it's recognizing it's there, because the check box does get created.&amp;nbsp; I'm able to switch layer[1] on/off, but without the symbology to guide the user of what each symbol means on the map, it's not much good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the most recent files back in August, so I think I'm working with the latest and greatest.&amp;nbsp; Has this always been the behavior of this TOC?&amp;nbsp; Is it a problem because layer[0] and layer [1] are referencing the same data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm tempted to try out the new scale dependent renderer that was released at 3.7, but I'm afraid that wouldn't play well with this dijit either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 19:09:27 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2013-10-07T19:09:27Z</dc:date>
    <item>
      <title>agsjs.dijit.TOC not displaying layer's symbology if not visible at startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agsjs-dijit-toc-not-displaying-layer-s-symbology/m-p/444758#M41072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been using the TOC dijit for several projects now and it's really great!&amp;nbsp;&amp;nbsp; This is the first project I have with a layer that only displays once the user zooms closers.&amp;nbsp;&amp;nbsp; In my service, layer[0] are points drawn with a small gray dot.&amp;nbsp; As the user zooms to a closer scale, these simple dots turn off and layer[1] takes over, drawing a more complex symbol, classifying these by type instead. I should mention that Layer [0] and Layer [1] reference the same data, the difference is in how they are symbolized and their scale thresholds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My issue is in how the TOC dijit behaves.&amp;nbsp; The symbols for layer[1] never get loaded, I assume because this layer isn't visible at startup.&amp;nbsp; However, it's recognizing it's there, because the check box does get created.&amp;nbsp; I'm able to switch layer[1] on/off, but without the symbology to guide the user of what each symbol means on the map, it's not much good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the most recent files back in August, so I think I'm working with the latest and greatest.&amp;nbsp; Has this always been the behavior of this TOC?&amp;nbsp; Is it a problem because layer[0] and layer [1] are referencing the same data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm tempted to try out the new scale dependent renderer that was released at 3.7, but I'm afraid that wouldn't play well with this dijit either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 19:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/agsjs-dijit-toc-not-displaying-layer-s-symbology/m-p/444758#M41072</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-10-07T19:09:27Z</dc:date>
    </item>
  </channel>
</rss>

