Disable Camera move when click the marker google maps flutter

1,360 views
Skip to first unread message

Amicus India

unread,
Apr 10, 2020, 2:29:12 AM4/10/20
to Flutter Development (flutter-dev)
Hi,
Kindly help how to disable  Camera move when click the marker google maps flutter
Thanks in Advance

Souvik Dutta

unread,
Apr 10, 2020, 4:47:58 AM4/10/20
to Amicus India, Flutter Development (flutter-dev)
Do you have a button. If do then you should use absorb pointer. If it is just pan  gesture then you can use an if and else statement and use a Boolean object to stop receiving the gesture. 

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/d2b2b32e-e321-4c9f-94aa-014859fb7f95%40googlegroups.com.

Sergey Alexandrovich

unread,
May 12, 2020, 2:04:41 PM5/12/20
to Flutter Development (flutter-dev)
Try set
consumeTapEvents=true
as argument of Marker constructor.


Marker marker =Marker(consumeTapEvents=true)
Reply all
Reply to author
Forward
0 new messages