0

I'm migrating an app developed with google maps api for android v1 to v2. Drawing the map and disable the map to show a route so I disable the touch and zoom to prevent vision loss by myMapView.setClickable (false). I'm trying to do for the v2 but there is no similar method.

I have watched events like setOnCameraChangeListener but without results.

thank you very much

joaquin
  • 82,968
  • 29
  • 138
  • 152

2 Answers2

0

Have you tried getting a reference of the GoogleMap and passing null to its onMapClickListener()?

Emmanuel
  • 13,083
  • 4
  • 39
  • 53
0

this can be done with a combination of these 2 methods

Android Google Maps: disable dragging in MapFragment

Google Maps Android MapView v2: disable zooming

Community
  • 1
  • 1
tyczj
  • 71,600
  • 54
  • 194
  • 296