geoJSONLayer.featureReduction = {
type: "cluster",
outFields: ["*"],
popupTemplate: template,
clusterRadius: 25,
clusterMinSize: "50px",
clusterMaxSize: "50px,
labelingInfo: [
{
deconflictionStrategy: "none",
labelExpressionInfo: {
expression: "Text($feature.cluster_count, '#,###')",
},
symbol: {
type: "text",
color: "white",
font: {
weight: "bold",
family: "Noto Sans",
size: "14px",
},
haloSize: 1,
haloColor: "black",
yoffset: "-8pt",
},
labelPlacement: "center-center",
},
],
};