Open RensBoeser opened 1 year ago
Hello! Sorry for the delay on answering you.
Our cluster
was changed by some PRs if you compare to the original one, thats the probably reason to be different. We could test adding minimumClusterSize
to its props
to see if it would work for you.
This is how you can archive it now:
<GMapCluster :algorithm="algorithm">
</GMapCluster>
<script setup lang="ts">
const algorithm = new SuperClusterAlgorithm({
minPoints: 6,
minZoom: 5,
radius: 400
})
</script>
Just switched from the original vue google maps library and I noticed my clusters were different. This is because both
styles
andmiunimum-cluster-size
properties were not working. I fixed the styles by writing my own render function, but how do I fix myminimum-cluster-size
?My code:
What were your expecting to happen? minimum cluster size set to 6
What happened? minimum cluster size set to 2 (default)