<?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 Operational Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449575#M41530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe ESRI JS API provides a way to add labels for graphics. Currently you can only add labels for feature layers published along with the map services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 15:21:12 GMT</pubDate>
    <dc:creator>JasonZou</dc:creator>
    <dc:date>2013-08-09T15:21:12Z</dc:date>
    <item>
      <title>labeling Operational Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449572#M41527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a template with An ArcGIS rest service.&amp;nbsp; The layer that I want to use says 'Has Labels: true'&amp;nbsp; Now I want the label to show up in my ESRI JSapi web application.&amp;nbsp; the Template I am using has the following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 operationalLayers: [{
&amp;nbsp;&amp;nbsp; type: "feature",
&amp;nbsp;&amp;nbsp; url: "http://.....6080/arcgis/rest/services/........../MapServer/5",
&amp;nbsp;&amp;nbsp; title: "Tanks - Scada Sites",
&amp;nbsp;&amp;nbsp; options: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "tanks",
&amp;nbsp;&amp;nbsp;&amp;nbsp; opacity: 1.0,
&amp;nbsp;&amp;nbsp;&amp;nbsp; visible: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: new InfoTemplate("tank name", "${*}"),
&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: 0
&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is....Is there an option that I need to add that makes the labels appear...because they are not on.&amp;nbsp; Does this make sense?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:20:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449572#M41527</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2013-08-09T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: labeling Operational Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449573#M41528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;infoTemplate is not used to set the label, but to set the content of infoWindow when clicking on the features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449573#M41528</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-09T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: labeling Operational Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449574#M41529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK....then where or how do I add the labels for this layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 14:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449574#M41529</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2013-08-09T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: labeling Operational Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449575#M41530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe ESRI JS API provides a way to add labels for graphics. Currently you can only add labels for feature layers published along with the map services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 15:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449575#M41530</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-09T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: labeling Operational Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449576#M41531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am using a template with An ArcGIS rest service.&amp;nbsp; The layer that I want to use says 'Has Labels: true'&amp;nbsp; Now I want the label to show up in my ESRI JSapi web application.&amp;nbsp; the Template I am using has the following code&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 operationalLayers: [{
&amp;nbsp;&amp;nbsp; type: "feature",
&amp;nbsp;&amp;nbsp; url: "http://.....6080/arcgis/rest/services/........../MapServer/5",
&amp;nbsp;&amp;nbsp; title: "Tanks - Scada Sites",
&amp;nbsp;&amp;nbsp; options: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "tanks",
&amp;nbsp;&amp;nbsp;&amp;nbsp; opacity: 1.0,
&amp;nbsp;&amp;nbsp;&amp;nbsp; visible: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: new InfoTemplate("tank name", "${*}"),
&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: 0
&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;My question is....Is there an option that I need to add that makes the labels appear...because they are not on.&amp;nbsp; Does this make sense?&amp;nbsp; &lt;BR /&gt;Thanks in Advance.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possible with the code provided above, to add the labels that are at my rest service layer?&amp;nbsp; Maybe I'm not describing this correctly.&amp;nbsp; I just want the labels to appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labeling-operational-layer/m-p/449576#M41531</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2021-12-11T20:04:23Z</dc:date>
    </item>
  </channel>
</rss>

