We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5cdf54 commit ff91d0fCopy full SHA for ff91d0f
src/algorithms/supercluster.ts
@@ -50,7 +50,7 @@ export class SuperClusterAlgorithm extends AbstractAlgorithm {
50
51
public calculate(input: AlgorithmInput): AlgorithmOutput {
52
let changed = false;
53
- const state = { zoom: input.map.getZoom() };
+ const state = { zoom: Math.round(input.map.getZoom()) };
54
55
if (!equal(input.markers, this.markers)) {
56
changed = true;
0 commit comments