Skip to content

Commit

Permalink
Simple fix to add radius to SuperClusterViewportOptions.
Browse files Browse the repository at this point in the history
Meant to resolve issues googlemaps#724, googlemaps#803
  • Loading branch information
arodriguezVS committed Dec 15, 2023
1 parent 35503d9 commit 16fe4c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/algorithms/superviewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 16fe4c9

Please sign in to comment.