tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
102 stars 93 forks source link

Not correctly centering if map was moving #22

Closed RedHappyLlama closed 2 years ago

RedHappyLlama commented 2 years ago

Hi,

As per https://github.com/tlserver/flutter_map_location_marker/blob/master/example/lib/page/center_fab_example.dart

If the map is moving / scrolling following a user input (swipe and lift), and the user presses the center FAB, the map is not correctly centered.

tlserver commented 2 years ago

Yes, this is a known issue, but I cannot find a way to fix it because I cannot find a way to stop the physics simulation for user gesture in flutter map.

tlserver commented 2 years ago

It sould be fine when this PR is landed. No fix is needed.