getPanoramaCamera method

  1. @override
Future<StreetViewPanoramaCamera> getPanoramaCamera(
  1. int viewId
)
override

Return camera setting, bearing, tilt and zoom.

Implementation

@override
Future<StreetViewPanoramaCamera> getPanoramaCamera(int viewId) async {
  return StreetViewPanoramaCamera.fromMap(
      await channel(viewId)!.invokeMethod("streetView#getPanoramaCamera"));
}