<?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: Labeling FeatureLayer JS3.x in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052849#M14480</link>
    <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;See this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507" target="_blank"&gt;https://community.esri.com/t5/web-appbuilder-custom-widgets/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 18:17:19 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-04-29T18:17:19Z</dc:date>
    <item>
      <title>Labeling FeatureLayer JS3.x</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052827#M14479</link>
      <description>&lt;P&gt;WABDev 2.19&lt;/P&gt;&lt;P&gt;I have a custom widget that I am adding a FeatureLayer from an onClick event and trying to symbolize and add labels.&amp;nbsp; From &lt;A href="https://developers.arcgis.com/javascript/3/jshelp/tutorial_label_layer.html" target="_self"&gt;THIS&lt;/A&gt; example it's showing an important step to "showLabels":&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;map = new Map("map", {
   extent: bbox,
   showLabels : true //very important that this must be set to true!
 });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't implement that "new Map" and just setting reference to the map source to the WAB itself.&amp;nbsp; All I do is decalare map: null at the top and then access this.map throughout the .js of the widget&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I set this.map to showLabels: true?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 17:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052827#M14479</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-04-29T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling FeatureLayer JS3.x</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052849#M14480</link>
      <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;See this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507" target="_blank"&gt;https://community.esri.com/t5/web-appbuilder-custom-widgets/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 18:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052849#M14480</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-04-29T18:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling FeatureLayer JS3.x</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052854#M14481</link>
      <description>&lt;P&gt;oof.. did I whiff on that one.&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 18:29:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labeling-featurelayer-js3-x/m-p/1052854#M14481</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-04-29T18:29:37Z</dc:date>
    </item>
  </channel>
</rss>

