<?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: Display subtype values as labels in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210944#M78652</link>
    <description>&lt;P&gt;Oh sorry about that . Its no public service&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 20:46:53 GMT</pubDate>
    <dc:creator>cadgism</dc:creator>
    <dc:date>2022-09-08T20:46:53Z</dc:date>
    <item>
      <title>Display subtype values as labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210664#M78630</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Good Day to All.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I display Subtype values (not Code) stored in Geodatabase as labels on a feature. Any help will be appreciated. I have the below code, not wrking&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var labelClass = {
                // autocasts as new LabelClass()
                symbol: {
                    type: "text",
                    color: color,
                    haloColor: haloColor,
                    haloSize: haloSize,
                    xoffset: xoffset,
                    yoffset: yoffset,
                    font: {
                        size: fsize,
                        weight: "normal"
                    }
                },
                labelPlacement: "below-center",
                useCodedValues: true,
                labelExpressionInfo: {
                    expression: "$feature['BuildingType']"
                    //expression: "$feature['BuildingSubType']"
                }
            };
            LayerName.labelingInfo = [labelClass];&lt;/LI-CODE&gt;&lt;P&gt;. Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 06:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210664#M78630</guid>
      <dc:creator>cadgism</dc:creator>
      <dc:date>2022-09-08T06:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display subtype values as labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210830#M78639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10625"&gt;@cadgism&lt;/a&gt;,&amp;nbsp;have you tried the useCodedValues property?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#useCodedValues" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#useCodedValues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 16:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210830#M78639</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-09-08T16:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display subtype values as labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210931#M78649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;yes i did. Its in my code above&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 19:39:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210931#M78649</guid>
      <dc:creator>cadgism</dc:creator>
      <dc:date>2022-09-08T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display subtype values as labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210934#M78650</link>
      <description>&lt;P&gt;Whoops, I somehow managed not to see that. Is the service that you're using publicly accessible so I could test against it?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 20:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210934#M78650</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-09-08T20:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display subtype values as labels</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210944#M78652</link>
      <description>&lt;P&gt;Oh sorry about that . Its no public service&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 20:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/display-subtype-values-as-labels/m-p/1210944#M78652</guid>
      <dc:creator>cadgism</dc:creator>
      <dc:date>2022-09-08T20:46:53Z</dc:date>
    </item>
  </channel>
</rss>

