Skip to content

Commit 40a8c0e

Browse files
authored
Merge pull request #491 from PADAS/hotfix/cluster-max-zoom
post-spiderification cluster max zoom reduction so clusters can be disambiguated
2 parents 7448948 + b2dcc01 commit 40a8c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventsLayer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { LAYER_IDS, DEFAULT_SYMBOL_LAYOUT, DEFAULT_SYMBOL_PAINT, IF_IS_GENERIC,
2020

2121
export const CLUSTER_CONFIG = {
2222
cluster: true,
23-
clusterMaxZoom: MAX_ZOOM, // Max zoom to cluster points on
23+
clusterMaxZoom: MAX_ZOOM - 1, // Max zoom to cluster points on
2424
clusterRadius: 40,
2525
};
2626

0 commit comments

Comments
 (0)