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