setUserNavigationEnabled method

  1. @override
Future<void> setUserNavigationEnabled(
  1. int viewId,
  2. bool enable
)
override

Sets street view to allow moving to another panorama.

Return Future while the change has been made on the platform side.

Implementation

@override
Future<void> setUserNavigationEnabled(int viewId, bool enable) {
  return channel(viewId)!
      .invokeMethod("streetView#setUserNavigationEnabled", enable);
}