js-markerclusterer: Markerclusterer: Property 'radius' does not exist on type 'SuperClusterViewportOptions'.
Hello,
I have this error since the last update:
Error: node_modules/@googlemaps/markerclusterer/dist/algorithms/superviewport.d.ts:37:28 - error TS2339: Property 'radius' does not exist on type 'SuperClusterViewportOptions'. 37 constructor({ maxZoom, radius, viewportPadding, ...options }: SuperClusterViewportOptions);
.
My packages versions are:
- “@googlemaps/markerclusterer”: “^2.4.0”
- “@types/google.maps”: “^3.53.6”.
I am using Angular 16.2.0 with typescript 5.1.6. The only place where I am using something from this class is there:
new MarkerClusterer({ map: this.map, algorithm: new SuperClusterAlgorithm({ minPoints: 6 }), });
Could you help me, please?
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 37
- Comments: 17 (2 by maintainers)
Commits related to this issue
- Simple fix to add `radius` to SuperClusterViewportOptions. Meant to resolve issues #724, #803 — committed to taserian/js-markerclusterer by deleted user 7 months ago
- fix: Add `radius` property to SuperClusterViewportOptions Fixes #724 , #803 — committed to taserian/js-markerclusterer by taserian 7 months ago
I went back to version 2.3.2, and it worked, if one day it works again from version 2.4.0+, someone please let me know 😊
2.5.1 still broken. I reverted to 2.3.2 as @Guilherme-Bodart suggested and will also stay there until this is fixed.
I have the same problem 😢
@Guilherme-Bodart You likely just created a black hole that will devour all of humanity, right before Halloween. Good job! 😃