I use flutter_google_maps and after tapping on a Marker the Marker is centered automatically on the map. Is there a way to disable this?
Thanks Joerg
I use flutter_google_maps and after tapping on a Marker the Marker is centered automatically on the map. Is there a way to disable this?
Thanks Joerg
At the time of creating the marker make sure you are passing consumeTapEvents
to true
, and it will do the magic.
Follow the below line of code:
Marker marker = Marker(markerId: markerId, consumeTapEvents: true)
© 2022 - 2024 — McMap. All rights reserved.