<?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: FeatureReduction Clustering and unique Value renderer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurereduction-clustering-and-unique-value/m-p/1477966#M84706</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/13540"&gt;@EugeneStaten&lt;/a&gt;&amp;nbsp;- yes this is possible starting at &lt;A href="https://developers.arcgis.com/javascript/latest/4.25/#custom-cluster-styles" target="_self"&gt;version 4.25&lt;/A&gt;! You can set a specific &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#symbol" target="_self"&gt;cluster symbol&lt;/A&gt; for your clusters, and your individual features will render with their original renderer. Here's an example, where the  triangles represent individual features:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-23 at 12.52.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105209iDD7C697FBCBFFD44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-23 at 12.52.16 PM.png" alt="Screenshot 2024-05-23 at 12.52.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 19:53:18 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2024-05-23T19:53:18Z</dc:date>
    <item>
      <title>FeatureReduction Clustering and unique Value renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurereduction-clustering-and-unique-value/m-p/1477232#M84691</link>
      <description>&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;Our company has been clustering points since 2015 for our client and have had to hack away, through trial and error to get the clustering we require when a new version of the javascript api is implemented.&lt;/P&gt;&lt;P&gt;We would love to make use of FeatureReduction clustering and are using it in many circumstances, but our primary, incident management layer still requires something I have yet to see in ESRI's clustering.&lt;/P&gt;&lt;P&gt;Perhaps it is there, but there are no examples of how to make it happen, so I'm posting in hopes of discovering how to make this work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EugeneStaten_0-1716408131677.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105004i132BE9877DB31844/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EugeneStaten_0-1716408131677.png" alt="EugeneStaten_0-1716408131677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an exampe of what we do.&amp;nbsp; We post up to 14 unique incident types and each type has it's own PictureMarkerSymbol.&amp;nbsp; When two or more incidents are near enough, we cluster them, regardless of what type they are and can display a popup, that contains the PictureMarker symbol and attribute information of each, individual incident in the cluster.&amp;nbsp; When there is a single item we show the PictureMarker for its type and when there are two or more, we show a custom CIMSymbol with the number of incidents in the cluster.&lt;BR /&gt;&lt;BR /&gt;We do this in a GraphicsLayer, with a ton of customization of the GraphicsLayerView, but we want to have a Feature layer with a uniquevalue renderer and FeatureReduction clustering.&lt;BR /&gt;&lt;BR /&gt;We want to show the unique value when there is only one item within the cluster's pixel range but the Cluster Symbol when there are two or more.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can this be done in version 4.29?&lt;BR /&gt;&lt;BR /&gt;If so, is there and example of this?&lt;/P&gt;&lt;P&gt;If this is not there yet, may we obtain some documentation on how to extend the FeatureReduction Clusterer to, perhaps, get what we need?&lt;/P&gt;&lt;P&gt;Thanks for any and all replies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 20:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurereduction-clustering-and-unique-value/m-p/1477232#M84691</guid>
      <dc:creator>EugeneStaten</dc:creator>
      <dc:date>2024-05-22T20:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureReduction Clustering and unique Value renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurereduction-clustering-and-unique-value/m-p/1477966#M84706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/13540"&gt;@EugeneStaten&lt;/a&gt;&amp;nbsp;- yes this is possible starting at &lt;A href="https://developers.arcgis.com/javascript/latest/4.25/#custom-cluster-styles" target="_self"&gt;version 4.25&lt;/A&gt;! You can set a specific &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html#symbol" target="_self"&gt;cluster symbol&lt;/A&gt; for your clusters, and your individual features will render with their original renderer. Here's an example, where the  triangles represent individual features:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-23 at 12.52.16 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105209iDD7C697FBCBFFD44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-05-23 at 12.52.16 PM.png" alt="Screenshot 2024-05-23 at 12.52.16 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 19:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurereduction-clustering-and-unique-value/m-p/1477966#M84706</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2024-05-23T19:53:18Z</dc:date>
    </item>
  </channel>
</rss>

