setPanControlOptions method

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

Sets pan control display position. Web only

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

Implementation

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