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

Library not working with Angular Google Maps component #130

Closed
Marcinowy opened this issue Dec 1, 2021 · 3 comments
Closed

Library not working with Angular Google Maps component #130

Marcinowy opened this issue Dec 1, 2021 · 3 comments
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@Marcinowy
Copy link

Marcinowy commented Dec 1, 2021

Hey,
I came here because of some bugs in old js-markerclustererplus library (this issue). However, when I tried to use this lib with Angular Google Maps component, it's throwing errors. I tried to "build a bridge" in ugly way to make the new lib working, but with no effects. This is my tries:
window.MarkerClusterer = window.markerClusterer.MarkerClusterer; window.MarkerClusterer.prototype.repaint = window.MarkerClusterer.prototype.render;
I know the chances to update Google Maps component are very low, so I'm asking you to adapt old methods.

Thanks a lot!

@Marcinowy Marcinowy added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Dec 1, 2021
@jpoehnelt
Copy link
Contributor

The interface is not directly compatible. You will likely need to fork agm.

@jpoehnelt
Copy link
Contributor

Forking shouldn't be much of an issue since agm is not maintained.

@jpoehnelt
Copy link
Contributor

Assuming this is AGM and not https://www.npmjs.com/package/@angular/google-maps. If it is the latter, support should be added there.

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: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants