From e9baba5978697385e922d42017a27d51ea10b672 Mon Sep 17 00:00:00 2001 From: taserian Date: Fri, 15 Dec 2023 11:13:16 -0500 Subject: [PATCH] fix: Add `radius` property to SuperClusterViewportOptions Fixes #724 , #803 --- src/algorithms/superviewport.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/algorithms/superviewport.ts b/src/algorithms/superviewport.ts index 0f3b6c77..3e9cc014 100644 --- a/src/algorithms/superviewport.ts +++ b/src/algorithms/superviewport.ts @@ -29,7 +29,9 @@ import equal from "fast-deep-equal"; export interface SuperClusterViewportOptions extends SuperClusterOptions, - ViewportAlgorithmOptions {} + ViewportAlgorithmOptions { + radius?: number; + } export interface SuperClusterViewportState { /* The current zoom level */