<?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: Cluster Layer not visible on map. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1244340#M79749</link>
    <description>&lt;P&gt;Can you post a link to a codepen demonstrating the issue. It's hard to debug without seeing this config connected to real data.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 19:18:31 GMT</pubDate>
    <dc:creator>KristianEkenes</dc:creator>
    <dc:date>2022-12-29T19:18:31Z</dc:date>
    <item>
      <title>Cluster Layer not visible on map.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1242969#M79696</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am trying to create a cluster layer and plot it on map using simple marker but I am not able to plot this layer on map. No errors are being shows while running the application. Below is the code. Can someone help me if I am missing something.&lt;/P&gt;&lt;P&gt;const clusterConfig = {&lt;BR /&gt;type: "cluster",&lt;BR /&gt;clusterRadius: "100px",&lt;BR /&gt;// {cluster_count} is an aggregate field containing&lt;BR /&gt;// the number of features comprised by the cluster&lt;BR /&gt;popupTemplate: {&lt;BR /&gt;title: "Cluster summary",&lt;BR /&gt;content: "This cluster represents {cluster_count} earthquakes.",&lt;BR /&gt;fieldInfos: [&lt;BR /&gt;{&lt;BR /&gt;fieldName: "cluster_count",&lt;BR /&gt;format: {&lt;BR /&gt;places: 0,&lt;BR /&gt;digitSeparator: true&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;clusterMinSize: "24px",&lt;BR /&gt;clusterMaxSize: "60px",&lt;BR /&gt;labelingInfo: [&lt;BR /&gt;{&lt;BR /&gt;deconflictionStrategy: "none",&lt;BR /&gt;labelExpressionInfo: {&lt;BR /&gt;expression: "Text($feature.cluster_count, '#,###')"&lt;BR /&gt;},&lt;BR /&gt;symbol: {&lt;BR /&gt;type: "text",&lt;BR /&gt;color: "#004a5d",&lt;BR /&gt;font: {&lt;BR /&gt;weight: "bold",&lt;BR /&gt;family: "Noto Sans",&lt;BR /&gt;size: "12px"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;labelPlacement: "center-center"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;};&lt;BR /&gt;this.clusterLayer = new FeatureLayer({&lt;BR /&gt;supportsEditing: true,&lt;BR /&gt;title: "clusters",&lt;BR /&gt;objectIdField: "OBJECTID",&lt;BR /&gt;id: "clusters",&lt;BR /&gt;source: [this.clustPoints],&lt;BR /&gt;geometryType: "point",&lt;BR /&gt;spatialReference: { wkid: 4326 },&lt;BR /&gt;featureReduction: clusterConfig,&lt;BR /&gt;renderer: {&lt;BR /&gt;type: "simple",&lt;BR /&gt;symbol: {&lt;BR /&gt;type: "simple-marker",&lt;BR /&gt;size: 4,&lt;BR /&gt;color: "#fc3232",&lt;BR /&gt;outline: {&lt;BR /&gt;color: [50, 50, 50]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;this.map.add(this.clusterLayer);&lt;BR /&gt;this.showClusterLayer();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 16:42:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1242969#M79696</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2022-12-21T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Layer not visible on map.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1244340#M79749</link>
      <description>&lt;P&gt;Can you post a link to a codepen demonstrating the issue. It's hard to debug without seeing this config connected to real data.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 19:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1244340#M79749</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2022-12-29T19:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Layer not visible on map.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1244489#M79751</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for writing. I was able to solve it. The problem was with the source cluster points. All the points had x,y in a different projection. I had to use&amp;nbsp;xyToLngLat (x, y) in order to solve it and now the clusters are getting plotted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 04:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cluster-layer-not-visible-on-map/m-p/1244489#M79751</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2022-12-30T04:34:35Z</dc:date>
    </item>
  </channel>
</rss>

