Try this :
GoogleMapOptions options = new GoogleMapOptions();
options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
.compassEnabled(true)
.rotateGesturesEnabled(false)
.tiltGesturesEnabled(false);
for details check this link.
https://developers.google.com/android/reference/com/google/android/gms/maps/UiSettings or https://developers.google.com/maps/documentation/android-api/controls
I use from this link and good work :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.