Skip to content Skip to sidebar Skip to footer

Disabling Zoom Out On A Googlemap Object In Android

I am trying to disable the zoom (or set a unchangable zoom level) on my GoogleMap object. I did try disabling the Zoom Controls to false but that did not work for some reason. I am

Solution 1:

It was very simple,I was using the wrong method. Instead of that

mMap.getUiSettings().setZoomControlsEnabled(false);

I had to use this method:

mMap.getUiSettings(). setZoomGesturesEnabled(false);

Post a Comment for "Disabling Zoom Out On A Googlemap Object In Android"