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