setRotateGesturesEnabled method

Future<void> setRotateGesturesEnabled(
  1. bool enabled
)

Sets the preference for whether the user is allowed to rotate the map using a gesture.

Initial value can be set with GoogleMapsNavigationView.initialRotateGesturesEnabled.

Implementation

Future<void> setRotateGesturesEnabled(bool enabled) {
  return GoogleMapsNavigationPlatform.instance
      .setRotateGesturesEnabled(viewId: _viewId, enabled: enabled);
}