setMotionTrackingControl method

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

Sets street view to allow using motion tracking control or not. Web only

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

Implementation

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