flutter_map_marker_cluster icon indicating copy to clipboard operation
flutter_map_marker_cluster copied to clipboard

Popup positioning in spiderfy function

Open claudiosul opened this issue 1 year ago • 4 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

claudiosul avatar Mar 21 '24 23:03 claudiosul

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

ProgUser145 avatar Mar 22 '24 19:03 ProgUser145

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.

github-actions[bot] avatar Apr 22 '24 02:04 github-actions[bot]

@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 💪🏻

Azzeccagarbugli avatar Apr 24 '24 11:04 Azzeccagarbugli

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 ✨

Azzeccagarbugli avatar Apr 25 '24 11:04 Azzeccagarbugli

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.

github-actions[bot] avatar May 26 '24 02:05 github-actions[bot]

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

github-actions[bot] avatar Jun 01 '24 02:06 github-actions[bot]