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

Displaying images from network as marker clusters #780

Open
ProgUser145 opened this issue Nov 18, 2024 · 1 comment
Open

Displaying images from network as marker clusters #780

ProgUser145 opened this issue Nov 18, 2024 · 1 comment

Comments

@ProgUser145
Copy link

Hi, thanks for this awesome package.

I’m working on a feature where I need to handle marker clusters dynamically, and I have a specific use case:

  • When there are multiple items in the same area, they should cluster as expected.

  • When zooming in and the cluster count reduces to 1 (essentially resolving into a single marker), I want to dynamically display an image fetched from network (e.g., an AWS presigned URL). So basically call an API which comes with a response as url.

  • Each marker should display a different image based on the API response(similar to how Instagram displays stories).

I understand that it’s possible to display the same image for all markers, but is it feasible to assign different images to each marker dynamically in this way? In flutter_map this is possible since the markers/clusters are widgets, but would love to know if it is possible to do it also with this package

@UsamaEjaz0
Copy link

Did you find a solution?

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

No branches or pull requests

2 participants