-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Add click output to clusterer #22020
Comments
Looks like the event is called |
@crisbeto thanks for your reply! And that library is used, as seen here:
|
Adds an event that emits when a cluster has been clicked. Fixes angular#22020.
Adds an event that emits when a cluster has been clicked. Fixes #22020.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
What are you trying to do?
I am trying to create a listener on a marker cluster. So I can get all markers from that clicked cluster event.
But It doesn't seem to work with a google maps example and I cant find any documentation about cluster clicks on https://github.com/angular/components/blob/master/src/google-maps/map-marker-clusterer/README.md.
What troubleshooting steps have you tried?
I tried to add a listener to the MapMarkerClusterer, see code below. The listener code is from this example: https://github.com/googlemaps/js-markerclustererplus/blob/df5fcb3dca33051ad6690093a5ca51e4d5c81de9/examples/events_example.html#L65
I also tried the default (click) from Angular, but I don't get an event.
Current code (not working)
Environment
So how can I get a cluster click event to work, so I can get all the markers from that cluster and implement that in my code?
The text was updated successfully, but these errors were encountered: