mapbox-maps-flutter icon indicating copy to clipboard operation
mapbox-maps-flutter copied to clipboard

Displaying images from network as marker clusters

Open ProgUser145 opened this issue 1 year ago • 3 comments

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

ProgUser145 avatar Nov 18 '24 20:11 ProgUser145

Did you find a solution?

UsamaEjaz0 avatar Dec 06 '24 22:12 UsamaEjaz0

@ProgUser145 @UsamaEjaz0 Did you find a solution?

BogibekDev avatar Aug 21 '25 10:08 BogibekDev

im also facing a similar issue and unable to find any solution to this.

tiltmaster avatar Oct 18 '25 09:10 tiltmaster