setZoomControlOptions method

Future<void> setZoomControlOptions(
  1. int viewId,
  2. ControlPosition pos
)
override

Sets zoom control display position. Web only

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

Implementation

Future<void> setZoomControlOptions(int viewId, ControlPosition pos) {
  return channel(viewId)!
      .invokeMethod("streetView#setZoomControlOptions", pos.toJson());
}