<?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: Feature Layer - label placement for polygons in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-label-placement-for-polygons/m-p/1547425#M85856</link>
    <description>&lt;P&gt;Unfortunately, there is not.&amp;nbsp; As seen in the "Known Limitations" section near the top of the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html" target="_self"&gt;LabelClass&lt;/A&gt; documentation, "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html" target="_blank" rel="noopener"&gt;Polygon&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;geometries only support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;always-horizontal&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement" target="_blank" rel="noopener"&gt;labelPlacement&lt;/A&gt;."&lt;/P&gt;&lt;P&gt;Further below, the documentation for the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement" target="_self"&gt;labelPlacement&lt;/A&gt; property only gives the single option for polygons as well.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 22:38:24 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-10-09T22:38:24Z</dc:date>
    <item>
      <title>Feature Layer - label placement for polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-label-placement-for-polygons/m-p/1547410#M85855</link>
      <description>&lt;P&gt;When creating a map via Pro and using the standard labeling engine, for a polygon layer, I have the following three options for label placement:&lt;BR /&gt;a) Always horizontal&lt;/P&gt;&lt;P&gt;b) Always Straight&lt;/P&gt;&lt;P&gt;c)Try horizontal first, then straight.&lt;/P&gt;&lt;P&gt;However, when using the Javascript SDK, adding this same layer as a FeatureLayer, using the "labelingInfo" property, I am not able to utilize any of the "labelPlacement" options except "always-horizontal".&lt;/P&gt;&lt;P&gt;Is there any way to utilize the other two options in a Javascript SDK app?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 22:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-label-placement-for-polygons/m-p/1547410#M85855</guid>
      <dc:creator>DavidFriedrich_DEV</dc:creator>
      <dc:date>2024-10-09T22:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer - label placement for polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-label-placement-for-polygons/m-p/1547425#M85856</link>
      <description>&lt;P&gt;Unfortunately, there is not.&amp;nbsp; As seen in the "Known Limitations" section near the top of the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html" target="_self"&gt;LabelClass&lt;/A&gt; documentation, "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html" target="_blank" rel="noopener"&gt;Polygon&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;geometries only support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;always-horizontal&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement" target="_blank" rel="noopener"&gt;labelPlacement&lt;/A&gt;."&lt;/P&gt;&lt;P&gt;Further below, the documentation for the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html#labelPlacement" target="_self"&gt;labelPlacement&lt;/A&gt; property only gives the single option for polygons as well.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 22:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-label-placement-for-polygons/m-p/1547425#M85856</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-10-09T22:38:24Z</dc:date>
    </item>
  </channel>
</rss>

