setUserNavigationEnabled method
Sets street view to allow moving to another panorama.
Return Future while the change has been made on the platform side.
Implementation
Future<void> setUserNavigationEnabled(bool enable) {
if (enable == _isUserNavigationEnabled)
return Future.delayed(Duration.zero);
return _streetViewFlutterPlatform
.setUserNavigationEnabled(viewId, enable: enable)
.then((value) => _isUserNavigationEnabled = enable);
}