lpongetti/flutter_map_marker_cluster

Popup positioning in spiderfy function

claudiosul opened this issue · 6 comments

First I would like to thank you for this great package. I noticed that when a cluster is opened using the spiderfy function, the inserted popups remain positioned at their original point within the map, and do not follow the alignment set with respect to the marker. please fix the issue thanks

Same problem here. When spiderfying the map the location of the markers is not the correct one, but they are simply spidered around the center of the cluster

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@lpongetti is there any workaround menawhile that we could use? I was trying to build something custom using the spiderfyShapePositions but it's not working, unfortunately.

If I come up with an elegant solution I might also open a PR to fix this 💪🏻

Hey @claudiosul, @ProgUser145 and @lpongetti.

Yesterday, I was working a bit on my fork on the package to implement (or fix), the feature regarding the _onMarkerTapInsideCluster and it is somehow working as you can see here (you can try it out by running the example app).

Before After
Screenshot Screenshot

The only thing that is not still working, and I'm a bit buzzed about, is how to place the marker correctly when a rotation or a zoom has taken place since those gestures would completely put off the popup on marker (I guess it's a problem regarding the mapCalulcator function pointToLatLng but I can't figure it out).

Feel free to help me out and @lpongetti maybe let me know if you want me to open a PR for this.

Thanks a lot and have a nice day ✨

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.