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

GMapCluster - "Error: setMaxZoom is not a method of....." #149

Open
tahaipek opened this issue Sep 2, 2022 · 3 comments
Open

GMapCluster - "Error: setMaxZoom is not a method of....." #149

tahaipek opened this issue Sep 2, 2022 · 3 comments

Comments

@tahaipek
Copy link

tahaipek commented Sep 2, 2022

I'm trying sample MapCluster with version "@fawmi/vue-google-maps": "^0.9.79 and I'm getting the following error.

Any idea about this error and warning?


bindProps.js:32 Uncaught (in promise) Error: setMaxZoom is not a method of (the Maps object corresponding to) undefined
    at bindProps (bindProps.js:32:13)
    at build-component.js:108:11

Screenshot 2022-09-02 102119

@tahaipek
Copy link
Author

tahaipek commented Sep 2, 2022

It looks like a bug from the current version. I downgraded the package version. ("@fawmi/vue-google-maps": "0.9.72" )

In this version ("0.9.72") , methods that are deprecated by Google Map Api are displayed as warnings.

google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead: https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener
The feature will continue to work and there is no plan to decommission it.

@terryarden
Copy link

terryarden commented Oct 5, 2022

When will a new version be released that fixes this issue? When I roll back to 0.9.72, the above error is fixed but the cluster icons (eg., m1.png, etc) is no longer found.
Screen Shot 2022-10-05 at 1 20 03 PM

@lugrinder
Copy link

lugrinder commented Oct 27, 2022

Same issue, please fix. All works fine, except when adding cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants