<?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 ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473570#M43920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if it is possible to use the labels renderers defined in a .mxd published as a Map Service (Feature Access enabled) for a FeatureLayer with the javascript API v4.3 just like it works with the geometry renderer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I define a featureLayer like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var organismesLayer = new FeatureLayer({
&amp;nbsp; url: "https://infogeo.education.gouv.qc.ca/arcgis/rest/services/SandBox_Maxime/GDUNO/MapServer/1",
&amp;nbsp; labelsVisible: true
});‍‍‍‍&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the map, I see the layer style is the same than in the .mxd, but the labels are not visible. Do I have to define the LabelClass manually in the javascript code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the label renderers from the Map Service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:56:29 GMT</pubDate>
    <dc:creator>MaximeDemers</dc:creator>
    <dc:date>2021-12-11T20:56:29Z</dc:date>
    <item>
      <title>ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473570#M43920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if it is possible to use the labels renderers defined in a .mxd published as a Map Service (Feature Access enabled) for a FeatureLayer with the javascript API v4.3 just like it works with the geometry renderer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I define a featureLayer like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var organismesLayer = new FeatureLayer({
&amp;nbsp; url: "https://infogeo.education.gouv.qc.ca/arcgis/rest/services/SandBox_Maxime/GDUNO/MapServer/1",
&amp;nbsp; labelsVisible: true
});‍‍‍‍&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the map, I see the layer style is the same than in the .mxd, but the labels are not visible. Do I have to define the LabelClass manually in the javascript code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the label renderers from the Map Service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473570#M43920</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2021-12-11T20:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473571#M43921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you seen this sample?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-dynamic-labels/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-dynamic-labels/index.html"&gt;MapImageLayer - label sublayer features | ArcGIS API for JavaScript 4.3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473571#M43921</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-13T12:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473572#M43922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;You example is using a MapImageLayer, but I am asking about a FeatureLayer. And I see in the example that they creating the LabelClass used as label renderers instead of getting it from the service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473572#M43922</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2017-06-13T12:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473573#M43923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maxime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Have you seen this limitation?&lt;/P&gt;&lt;P style="color: #4c4c4c; margin-bottom: 1.55rem;"&gt;&lt;STRONG style="font-weight: 500;"&gt;Known Limitations&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #4c4c4c; margin-bottom: 1.55rem;"&gt;There is no support for labeling in 2D. Labeling is only supported in 3D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:14:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473573#M43923</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-13T13:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript API - Label renderers from Map Service for a FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473574#M43924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh! That's right. I think I'll go back to v.3.20 then&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-label-renderers-from-map/m-p/473574#M43924</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2017-06-13T13:18:24Z</dc:date>
    </item>
  </channel>
</rss>

