googlemaps / googlemaps/js-markerclusterer
Calculate custom count in custom cluster icon
- Dominant language
- TypeScript
- Stars
- 293
- Forks
- 104
- Avg merge
- 3m
- Merged PRs (30d)
- 18
Description
In the previous library, @googlemaps/markerclustererplus , has a feature to calculate custom count on cluster
const calculator = (markers)=>{
// By default I got markers listing .....
}
FOR EXAMPLE:-
const options = {
calculator: calculator,
};
const mc = new MarkerClusterer(map, [], options);
but on this new library, there is a render method that helps to calculate the count on the cluster but I don't want to show a count of markers present on the cluster.
**DOUBT**:- **I am showing the count on a marker by some calculation when it clusters, I want to show the sum of the calculation count, not the marker count ...**
Please give me any solution or other way to solve this, that I am missing out on.
Contributor guide
Assessment
This issue has not been assessed yet.