getLocation method
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"));
}