Home > Software design >  I don't want the camera to move when I click the marker
I don't want the camera to move when I click the marker

Time:01-14

I'm using the [google_map_flutter] package.

When I click the marker, I don't want the screen to move to the center of the marker. Is there a way?

CodePudding user response:

try this

Try set

consumeTapEvents=false

as argument of Marker constructor.

Marker marker =Marker(consumeTapEvents=false)
  •  Tags:  
  • Related