<?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 After loading webmap, set the map's showLabels property to true in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/after-loading-webmap-set-the-map-s-showlabels/m-p/428860#M39420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After loading webmap, set &lt;STRONG&gt;arcgisUtils.createMap&lt;/STRONG&gt; I want to be able to add new layers which I label.&amp;nbsp; However, There's no map.setShowLabels method, and setting the map.showLabels = true directly doesn't work (where map is from the response.map) .&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something because surely I should be able to label my layers after loading a webmap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 15:29:51 GMT</pubDate>
    <dc:creator>MarcBate</dc:creator>
    <dc:date>2016-04-13T15:29:51Z</dc:date>
    <item>
      <title>After loading webmap, set the map's showLabels property to true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/after-loading-webmap-set-the-map-s-showlabels/m-p/428860#M39420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After loading webmap, set &lt;STRONG&gt;arcgisUtils.createMap&lt;/STRONG&gt; I want to be able to add new layers which I label.&amp;nbsp; However, There's no map.setShowLabels method, and setting the map.showLabels = true directly doesn't work (where map is from the response.map) .&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something because surely I should be able to label my layers after loading a webmap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:29:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/after-loading-webmap-set-the-map-s-showlabels/m-p/428860#M39420</guid>
      <dc:creator>MarcBate</dc:creator>
      <dc:date>2016-04-13T15:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: After loading webmap, set the map's showLabels property to true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/after-loading-webmap-set-the-map-s-showlabels/m-p/428861#M39421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer to this myself.&amp;nbsp; The arcgisUtils.createMap takes a mapoptions parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;var &lt;/SPAN&gt;deferred = arcgisUtils.&lt;SPAN style="color: #ffc66d;"&gt;createMap&lt;/SPAN&gt;(&lt;SPAN style="color: #9876aa;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"map"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;mapOptions&lt;/SPAN&gt;: {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;showLabels &lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;true&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;})&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:05:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/after-loading-webmap-set-the-map-s-showlabels/m-p/428861#M39421</guid>
      <dc:creator>MarcBate</dc:creator>
      <dc:date>2016-05-19T19:05:04Z</dc:date>
    </item>
  </channel>
</rss>

