orientationToPoint method
Future<Point<num> >
orientationToPoint(
- int viewId, {
- StreetViewPanoramaOrientation? orientation,
override
Returns a screen location that corresponds to an orientationStreetViewPanoramaOrientation.
Implementation
@override
Future<Point> orientationToPoint(int viewId,
{StreetViewPanoramaOrientation? orientation}) async {
final point = await channel(viewId)!
.invokeMethod("streetView#orientationToPoint", orientation!.toMap());
return Point(point["x"], point["y"]);
}