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

fix: fixed issue when multiple marker managers have been added, for instance in multiple clustering #396

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

kikoso
Copy link
Collaborator

@kikoso kikoso commented Sep 12, 2023

The following PR fixes an issue when multiple MarkerManagers are added (for instance, when we are adding multiple clusters), and only the last one is being triggered.

This has been solved by moving the execution of the invoke function within the reified findInputCallback function. The function will execute the callback click listener when we found a matching node or an input handler.

--
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #294 and eventually #394

@wangela wangela merged commit ff3f98b into main Sep 14, 2023
10 checks passed
@wangela wangela deleted the fix/click_listener_with_multiple_marker_managers branch September 14, 2023 23:24
googlemaps-bot pushed a commit that referenced this pull request Sep 14, 2023
## [2.14.1](v2.14.0...v2.14.1) (2023-09-14)

### Bug Fixes

* fixed issue when multiple marker managers have been added, for instance in multiple clustering ([#396](#396)) ([ff3f98b](ff3f98b))
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 2.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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