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

Clustering: Add the ability to configure the ClusterRenderer #281

Closed
DexterBishop opened this issue Mar 1, 2023 · 5 comments
Closed

Clustering: Add the ability to configure the ClusterRenderer #281

DexterBishop opened this issue Mar 1, 2023 · 5 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@DexterBishop
Copy link

It would be nice to be able to configure the ClusterRenderer.

For example:

onBeforeClusterItemRendered - to set the marker anchor

shouldRenderAsCluster and shouldRender - to start clustering only at a certain zoom level

@DexterBishop DexterBishop added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Mar 1, 2023
@wangela
Copy link
Member

wangela commented Mar 1, 2023

If you would like to upvote the priority of this issue, please comment below or react with 👍 so we can see what is popular when we triage.

@DexterBishop Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

@DSteve595 DSteve595 added priority: p3 Desirable enhancement or fix. May not be included in next release. and removed triage me I really want to be triaged. labels Mar 7, 2023
@kikoso
Copy link
Collaborator

kikoso commented Sep 29, 2023

Hi @DexterBishop .

Sorry for the delay here. We have a PR that will fix this issue, by allowing you to pass a custom renderer: https://github.com/googlemaps/android-maps-compose/pull/360/files

@cwsiteplan
Copy link

cwsiteplan commented Oct 9, 2023

just tried to integrate a custom ClusterRenderer but the interface does not expose methods described in this issue.
How are we supposed to access things like onBeforeClusterItemRendered? @kikoso

accessing the marker like that would resolve the anchor issue described here: #286

@wangela
Copy link
Member

wangela commented Nov 17, 2023

I believe this is fixed now with #421 which is available in v4.3.0.

@wangela wangela closed this as completed Nov 17, 2023
@cwsiteplan
Copy link

cwsiteplan commented Nov 20, 2023

i just checked out the changes, but not sure how i am now able to specify the anchor of the clusterItem(Content) marker.

I think there is still a wrong anchor applied to the custom cluster items (circles) in the sample app as well

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants