Hi folks,
I have a FeatureLayer with features which are rendered with a UniqueValueRenderer (based on their status they show on the map visualized by custom images img1 img2 or img3. This works well. I have also applied clustering successfully.
Now I want to change the symbology for those features which are clustered to simply show up with a SimpleMarkerSymbol Circle and the amount of features of the cluster inside.
How could I achieve this?
Thanks in advance,
Christian
Hi Christian,
have a look at the new cluster options in Javascript API 1.8
Greetings Karsten
const clusterConfig = {
type: "cluster",
symbol: {
type: "simple-marker",
style: "circle",
size: 10,
color: [255, 255, 255, 0.8],
outline: {
color: [155, 89, 182],
size: 10,
width: 2
}