setZoomControlOptions method

Future<void> setZoomControlOptions(
  1. ControlPosition pos
)

Sets zoom control display position. Web only

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

Implementation

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