setMotionTrackingControlOptions method

Future<void> setMotionTrackingControlOptions(
  1. ControlPosition pos
)

Sets motion tracking control display position. Web only

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

Implementation

Future<void> setMotionTrackingControlOptions(ControlPosition pos) {
  if (!kIsWeb)
    throw UnsupportedError(
        "[setMotionTrackingControlOptions] is not yet supported for Web.");
  return _streetViewFlutterPlatform.setMotionTrackingControlOptions(
      viewId, pos);
}