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

feat: Add GMSMarker subclass allowance on cluster renderer #506

Merged

Conversation

talipboke
Copy link
Contributor

@talipboke talipboke commented Oct 25, 2024

When
If can not subclass GMSMarker with custom iconView can not see iconView on Map

Thank you for opening a Pull Request!


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 #505 🦕

Copy link

google-cla bot commented Oct 25, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@talipboke talipboke force-pushed the talip/subclass-marker-renderer branch from 4ed59e8 to 0436e1e Compare October 25, 2024 09:15
Previously, when subclassing GMSMarker with a custom iconView, the iconView would not display on the map. This update enables custom iconViews to render correctly when using GMSMarker subclasses.
@talipboke talipboke force-pushed the talip/subclass-marker-renderer branch from 0436e1e to 00f7bdf Compare October 26, 2024 09:21
@wangela wangela changed the title Add subclass allowance on renderer feat: Add subclass allowance on cluster renderer Nov 5, 2024
@wangela wangela changed the title feat: Add subclass allowance on cluster renderer feat: Add GMSMarker subclass allowance on cluster renderer Nov 5, 2024
Copy link
Member

@wangela wangela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution!

Copy link
Collaborator

@iHackSubhodip iHackSubhodip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@wangela
Copy link
Member

wangela commented Nov 5, 2024

@iHackSubhodip As we have reviewed in your Swift translation branch, this change only applies to Objective-C and is not needed in the Swift version of the class.

@talipboke
Copy link
Contributor Author

talipboke commented Nov 5, 2024

Thanks for review.I have closed the issue :)

@talipboke
Copy link
Contributor Author

@wangela How does the merge process work? Do I need to do anything else?

@iHackSubhodip iHackSubhodip merged commit 125dfe5 into googlemaps:main Nov 7, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

IconView does not appear when a subclassed GMSMarker is added to GMUClusterManager.
3 participants