<?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 Can I change the text displayed when a esri Legend dijit has no legend displayed? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-change-the-text-displayed-when-a-esri-legend/m-p/210961#M19515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When there is no legend to display (e.g. layers are turned off or otherwise not visible) the legend div defaults to some text "No legend". &amp;nbsp;I would like to change the text used. &amp;nbsp;How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 05:42:34 GMT</pubDate>
    <dc:creator>MarkStewart2</dc:creator>
    <dc:date>2017-02-16T05:42:34Z</dc:date>
    <item>
      <title>Can I change the text displayed when a esri Legend dijit has no legend displayed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-change-the-text-displayed-when-a-esri-legend/m-p/210961#M19515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When there is no legend to display (e.g. layers are turned off or otherwise not visible) the legend div defaults to some text "No legend". &amp;nbsp;I would like to change the text used. &amp;nbsp;How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 05:42:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-change-the-text-displayed-when-a-esri-legend/m-p/210961#M19515</guid>
      <dc:creator>MarkStewart2</dc:creator>
      <dc:date>2017-02-16T05:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change the text displayed when a esri Legend dijit has no legend displayed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-change-the-text-displayed-when-a-esri-legend/m-p/210962#M19516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You will need to replace the default sting in the esriNLS strings:&lt;/P&gt;&lt;P&gt;sample snippet:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; map&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri/map"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"dojo/i18n!esri/nls/jsapi"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"dojo/domReady!"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Map&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; bundle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;widgets&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;legend&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NLS_noLegend &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"My No Legend"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jshelp/localization.html" title="https://developers.arcgis.com/javascript/3/jshelp/localization.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Localization | Guide | ArcGIS API for JavaScript 3.19&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-i-change-the-text-displayed-when-a-esri-legend/m-p/210962#M19516</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T10:23:34Z</dc:date>
    </item>
  </channel>
</rss>

