<?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: How to make text more visible in esriLayerList in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622062#M58104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The faint grey text is to indicate the the layer is not visible at the current scale due to min scale and max scale settings on the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you still want to change that then you just need to add a css rule and change the color. Here is the default rule:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.esriLayerList .esriScaleInvisible .esriLabel {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #999;
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:30:55 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-12T02:30:55Z</dc:date>
    <item>
      <title>How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622061#M58103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the esri dijit LayerList to display the layers and legend, however the text that shows the layer names is very faint and is difficult to see.&amp;nbsp; Is there any way to make it darker or change the color of the text to black.&amp;nbsp; Not sure why the default text color is a very faint gray ... really seems like a stupid default setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using javascript api v 3.16.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 22:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622061#M58103</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2016-05-05T22:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622062#M58104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The faint grey text is to indicate the the layer is not visible at the current scale due to min scale and max scale settings on the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you still want to change that then you just need to add a css rule and change the color. Here is the default rule:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.esriLayerList .esriScaleInvisible .esriLabel {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #999;
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622062#M58104</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T02:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622063#M58105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert!&amp;nbsp;&amp;nbsp; That worked great.&lt;/P&gt;&lt;P&gt;The esri layerlist works fine for a layer created as an ArcGISDynamicMapService.&amp;nbsp; However, I have a service that has a main layer with several sublayers.&lt;/P&gt;&lt;P&gt;eg.&amp;nbsp;&amp;nbsp;&amp;nbsp; MainLayer&amp;nbsp; (0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubLayerA (1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubLayerB (2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I define my layer as a FeatureLayer in JavaScript using this service (ex&amp;nbsp; ...myservice/MapServer/0 ), it does not work.&amp;nbsp; I have to point the FeatureLayer to one of the SubLayers (1 or 2) in order for the esri layerlist to work.&amp;nbsp; And then it only works for that one layer.&amp;nbsp; Is there any way to make the esri layerlist show all of the sublayers when using a FeatureLayer instead of an ArcGISDynamicMapService?&lt;/P&gt;&lt;P&gt;I have sublayers set to "true" but that does not seem to work for anything defined as a FeatureLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622063#M58105</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2016-05-06T13:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622064#M58106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Is there any way to make the esri layerlist show all of the sublayers when using a FeatureLayer instead of an ArcGISDynamicMapService?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No that is what a FeatureLayer is a specific sublayer in a map service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pointing a FeatureLayer to a group is not going to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:40:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622064#M58106</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-06T13:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622065#M58107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see.&amp;nbsp; That makes sense.&lt;/P&gt;&lt;P&gt;I wanted to use a FeatureLayer because I wanted to be able to click to identify on a point to bring up more information, and have the layerlist.&amp;nbsp; It looks like the tradeoff is either to use a FeatureLayer for "identify" and no layerlist, or an ArcGISDynamicMapService with a "layerlist" but no identify capabilities.&amp;nbsp; Doesn't look like you can have both capabilities, unless there is some other way to get around it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622065#M58107</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2016-05-06T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622066#M58108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can absolutely have InfoTemplates assigned to a dynamic map service layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer-amd.html#setinfotemplates" title="https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer-amd.html#setinfotemplates"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript | setInfoTemplates&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622066#M58108</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-06T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make text more visible in esriLayerList</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622067#M58109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had been using version 3.2 of the API for a long time, and just recently started using version 3.16 of the API.&amp;nbsp; I didn't realize that you could do that with the dynamic map service layer.&amp;nbsp; I see that it was added at version 3.10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great!&amp;nbsp; Thanks again Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-make-text-more-visible-in-esrilayerlist/m-p/622067#M58109</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2016-05-06T14:47:23Z</dc:date>
    </item>
  </channel>
</rss>

