lpongetti / flutter_map_marker_cluster

Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster
BSD 3-Clause "New" or "Revised" License
243 stars 215 forks source link

PopUp builder widgets rotate away from markers on Pinch rotate #200

Closed MaxiStefan closed 6 months ago

MaxiStefan commented 7 months ago

Basically title. Display marker popups, rotate the screen and the popups fly away. I though it might be yet again a MobileLayerTransformer issue but the Stack in marker_cluster_layer.dart is wrapped with it and the flutter_map_marker_popup also has it wrapped around its own layers.

MaxiStefan commented 7 months ago

Hi @lpongetti do you have any ideas as to what it might be?

tratteo commented 7 months ago

Encountering the same error, I tried looking at the code but didn't find the problem @lpongetti

tratteo commented 7 months ago

I fixed it and made a pull request (#201) @MaxiStefan. The problem was indeed the MobileLayerTransformer. The PopupLayer was wrapped in one while it already had its own interally, this caused transformation conflicts. While waiting for @lpongetti to mege the PR, you can depend on my fork. Thanks for the hint! Cheers 👍🏼

MaxiStefan commented 7 months ago

Nice, congrats for finding it!

lpongetti commented 6 months ago

thanks @tratteo