getLocation method

  1. @override
Future<StreetViewPanoramaLocation> getLocation(
  1. int viewId
)
override

Return position of current panorama and information of near panoramas

Implementation

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