Hi all
I have created a client side count statistic query , that is working fine. How I can place the
"outStatisticFieldName" as label of the layer.
query = tLayer.createQuery();
query.groupByFieldsForStatistics = ["FLATS"];
query.outStatistics = [sumFlats];
tLayer.queryFeatures(query)
.then(function (response) {
response.features.forEach((feature) => {
console.log(feature.attributes);
});
tLayer.refresh();
});