setTiltGesturesEnabled method
旋转手势使能
Implementation
Future setTiltGesturesEnabled(bool enable) {
return platform(
android: (pool) async {
final map = await androidController.getMap();
final uiSetting = await map.getUiSettings();
await uiSetting.setTiltGesturesEnabled(enable);
pool..add(map)..add(uiSetting);
},
ios: (pool) async {
await iosController.set_rotateCameraEnabled(enable);
},
);
}