<?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 Feature layer - How to create a CIMSymbol with multiple primitive overrides in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-how-to-create-a-cimsymbol-with/m-p/1378329#M83564</link>
    <description>&lt;P&gt;Can we create a feature layer with point geometry that has a CIMSymbol displayed in below screenshot?&lt;/P&gt;&lt;P&gt;Based on the an attribute field we should be able to draw any one of the below three symbols for the feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are three parts in the symbol which can be changed based on attribute values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Background in grey color - The size of the background may change based on the content inside (The length of the text)&lt;/P&gt;&lt;P&gt;2. Text on top of grey background - The text should change based on attribute value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Icon on top of grey background - The icon inside should change according to attribute value which can be square, circle or rectangle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VickyR_1-1707160198177.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93756i8AB3ACF75BF815BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VickyR_1-1707160198177.png" alt="VickyR_1-1707160198177.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CIMSymbol, we can use primitive override to override certain properties in the CIMSymbol object like text. But how can I change the width of the background base on text length and the icon based on attribute value?&lt;BR /&gt;&lt;BR /&gt;I would like to know if it is possible implement a feature layer with CIMSymbol, if not with CIMSymbol then if there is any other way to do this in the Feature layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 19:19:17 GMT</pubDate>
    <dc:creator>PrashantR</dc:creator>
    <dc:date>2024-02-05T19:19:17Z</dc:date>
    <item>
      <title>Feature layer - How to create a CIMSymbol with multiple primitive overrides</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-how-to-create-a-cimsymbol-with/m-p/1378329#M83564</link>
      <description>&lt;P&gt;Can we create a feature layer with point geometry that has a CIMSymbol displayed in below screenshot?&lt;/P&gt;&lt;P&gt;Based on the an attribute field we should be able to draw any one of the below three symbols for the feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are three parts in the symbol which can be changed based on attribute values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Background in grey color - The size of the background may change based on the content inside (The length of the text)&lt;/P&gt;&lt;P&gt;2. Text on top of grey background - The text should change based on attribute value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Icon on top of grey background - The icon inside should change according to attribute value which can be square, circle or rectangle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VickyR_1-1707160198177.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93756i8AB3ACF75BF815BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VickyR_1-1707160198177.png" alt="VickyR_1-1707160198177.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CIMSymbol, we can use primitive override to override certain properties in the CIMSymbol object like text. But how can I change the width of the background base on text length and the icon based on attribute value?&lt;BR /&gt;&lt;BR /&gt;I would like to know if it is possible implement a feature layer with CIMSymbol, if not with CIMSymbol then if there is any other way to do this in the Feature layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-how-to-create-a-cimsymbol-with/m-p/1378329#M83564</guid>
      <dc:creator>PrashantR</dc:creator>
      <dc:date>2024-02-05T19:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer - How to create a CIMSymbol with multiple primitive overrides</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-how-to-create-a-cimsymbol-with/m-p/1552025#M85953</link>
      <description>&lt;P&gt;I have the exact same need.&amp;nbsp; We are currently overriding the URL parameter of CIMPictureMarker to set the graphic name, but would also like&amp;nbsp; to override the rotation based on another attribute in the dataset.&lt;/P&gt;&lt;P&gt;The only way to do this now is to load the feature class twice - once with a renderer for the CIMPictureMarker that also has visualVariable applied to it for the rotation, the other for the labeling we don't want to rotate.&amp;nbsp;&amp;nbsp; Terrible kludge.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 19:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-how-to-create-a-cimsymbol-with/m-p/1552025#M85953</guid>
      <dc:creator>DanHuber</dc:creator>
      <dc:date>2024-10-24T19:07:35Z</dc:date>
    </item>
  </channel>
</rss>

