Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'radius' does not exist on type 'SuperClusterViewportOptions' #803

Open
djbanana1 opened this issue Nov 17, 2023 · 6 comments
Open
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@djbanana1
Copy link

Steps to reproduce

  1. Use MarkeerClusterer
  2. Our project is using these versions:
"devDependencies": {
  "@types/google.maps": "3.54.3"
},
"peerDependencies": {
  "@angular/common": ">=16.0.3",
  "@angular/core": ">=16.0.3",
  "@angular/google-maps": ">=16.0.1",
  "@angular/material": ">=16.0.1",
  "@googlemaps/js-api-loader": "1.16.2",
  "@googlemaps/markerclusterer": "2.5.1",
  "@megaphone/bases": ">=5.9.10",
  "@megaphone/pipes": ">=5.9.6",
  "@megaphone/geolocation": ">=5.9.2"
},

Problem

After serving the project, we are getting this error:

image

Using this version:

 "@googlemaps/markerclusterer": "2.5.1",

Works without creating an error

@djbanana1 djbanana1 added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 17, 2023
@wangela
Copy link
Member

wangela commented Nov 17, 2023

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@djbanana1 Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

@RomanTikhonov
Copy link

I have the same problem 😢

@iSpid3r
Copy link

iSpid3r commented Nov 24, 2023

The problem is still relevant.

@octavvartan
Copy link

The same problem

@gregorgabrovsek
Copy link

gregorgabrovsek commented Jan 25, 2024

I had the same issue and solved it by executing the following command:

npm i --save-dev @types/supercluster @types/google.maps

If you're using Angular, you may also need to add this to the value of the angularCompilerOptions key in your tsconfig.json file:

"angularCompilerOptions": {
    ...
    "allowSyntheticDefaultImports": true
    ...
}

@raphant
Copy link

raphant commented Feb 12, 2024

I had the same issue and solved it by executing the following command:

npm i --save-dev @types/supercluster @types/google.maps

If you're using Angular, you may also need to add this to the value of the angularCompilerOptions key in your tsconfig.json file:

"angularCompilerOptions": {
    ...
    "allowSyntheticDefaultImports": true
    ...
}

This worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

7 participants