-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoogleMaps: Detect if camera move was started by user #50931
Comments
Wrap the map in a Listener widget
|
TahaTesser
added
waiting for customer response
The Flutter team cannot make further progress on this issue until the original reporter responds
and removed
created via support template
labels
Feb 18, 2020
Works perfectly, thanks! |
no-response
bot
removed
the
waiting for customer response
The Flutter team cannot make further progress on this issue until the original reporter responds
label
Feb 19, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
I'd like to detect if a camera move was started by the user by dragging the map.
Is there any implementation of this or any trick I could use to detect it?
I tied wrapping the
GoogleMap
widget inside aGestureDetector
, but this does not seem to work, because the GestureDetector consumes the events, so they will not be propageted to the map widget.As I have seen, there exists such a feature in the Android Maps SDK when using the
onCameraMoveStarted
callback. It contains areason
parameter which isREASON_GESTURE
if the map was moved by a user gesture. If there's no other way, I would propose to add this feature.Thanks!
The text was updated successfully, but these errors were encountered: