setPanControlOptions method

Future<void> setPanControlOptions(
  1. ControlPosition pos
)

Sets pan control display position. Web only

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

Implementation

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