<?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: CIM Symbol - Label Positioning / Offset in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1278065#M80853</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562488"&gt;@LukaB&lt;/a&gt;&amp;nbsp;- unfortunately, this is a known issue and something we are working on improving! As a workaround, you could add the label to your CIMSymbol as a CIMTextSymbol in the markerGraphics of the CIMVectorMarker symbol layer, and use primitive overrides to (1) update the textString based on your feature attribute, and (2) adjust the offsetY of your symbol based on the $view.scale. Here's a quick example I just put together to demonstrate this:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/ZEqQzgZ?editors=100" target="_blank"&gt;https://codepen.io/annefitz/pen/ZEqQzgZ?editors=100&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 23:24:15 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2023-04-12T23:24:15Z</dc:date>
    <item>
      <title>CIM Symbol - Label Positioning / Offset</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1276439#M80793</link>
      <description>&lt;P&gt;Hi I am trying to use CIM Symbols for a point feature, but am having issues with labeling.&lt;/P&gt;&lt;P&gt;When using primitiveOverrides to adjust the symbol size property based on view.scale the labels are really close to the center point of the symbol. Is there any way to specify a larger offset for the label? This is not an issue when I disable the primitiveOverrides.&lt;/P&gt;&lt;P&gt;For reference, this is what "above-center" looks like.&lt;/P&gt;&lt;P&gt;API v4.24&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LukaB_0-1680825840568.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67465i932907AD02FA6FF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LukaB_0-1680825840568.png" alt="LukaB_0-1680825840568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any feedback or advice would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 00:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1276439#M80793</guid>
      <dc:creator>LukaB</dc:creator>
      <dc:date>2023-04-07T00:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: CIM Symbol - Label Positioning / Offset</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1278065#M80853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562488"&gt;@LukaB&lt;/a&gt;&amp;nbsp;- unfortunately, this is a known issue and something we are working on improving! As a workaround, you could add the label to your CIMSymbol as a CIMTextSymbol in the markerGraphics of the CIMVectorMarker symbol layer, and use primitive overrides to (1) update the textString based on your feature attribute, and (2) adjust the offsetY of your symbol based on the $view.scale. Here's a quick example I just put together to demonstrate this:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/ZEqQzgZ?editors=100" target="_blank"&gt;https://codepen.io/annefitz/pen/ZEqQzgZ?editors=100&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 23:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1278065#M80853</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2023-04-12T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: CIM Symbol - Label Positioning / Offset</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1283930#M80999</link>
      <description>&lt;P&gt;Thank you Anne. Very much appreciate your response, and the provided workaround which may be just what I am looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 16:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cim-symbol-label-positioning-offset/m-p/1283930#M80999</guid>
      <dc:creator>LukaB</dc:creator>
      <dc:date>2023-04-28T16:02:28Z</dc:date>
    </item>
  </channel>
</rss>

