setZoomGesturesEnabled method
Sets street view to allow using zoom gestures or not.
Return Future while the change has been made on the platform side.
Implementation
Future<void> setZoomGesturesEnabled(bool enable) {
if (enable == _isZoomGesturesEnabled) return Future.delayed(Duration.zero);
return _streetViewFlutterPlatform
.setZoomGesturesEnabled(viewId, enable: enable)
.then((value) => _isZoomGesturesEnabled = enable);
}