Skip to content

Markerclusterer: Property 'radius' does not exist on type 'SuperClusterViewportOptions'. #724

@adamperea

Description

@adamperea

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: investigatingThe issue is under investigation, which is determined to be non-trivial.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions