From 298734f5ff157bc9a50ea440e14839aa0f1ab8d6 Mon Sep 17 00:00:00 2001 From: James Sheen Date: Wed, 29 Jul 2020 09:05:11 +0100 Subject: [PATCH] add minPoints prop --- lib/ClusteredMapView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ClusteredMapView.js b/lib/ClusteredMapView.js index 2f250e9..1737116 100644 --- a/lib/ClusteredMapView.js +++ b/lib/ClusteredMapView.js @@ -24,6 +24,7 @@ const ClusteredMapView = forwardRef( radius, maxZoom, minZoom, + minPoints, extent, nodeSize, children, @@ -85,6 +86,7 @@ const ClusteredMapView = forwardRef( radius, maxZoom, minZoom, + minPoints, extent, nodeSize, }); @@ -240,6 +242,7 @@ ClusteredMapView.defaultProps = { radius: Dimensions.get("window").width * 0.06, maxZoom: 20, minZoom: 1, + minPoints: 2, extent: 512, nodeSize: 64, // Map parameters