setPosition method
Future<void>
setPosition({
- LatLng? position,
- String? panoId,
- int? radius,
- StreetViewSource? source,
Sets panorama by given location
Return Future while the change has been made on the platform side.
Implementation
Future<void> setPosition(
{LatLng? position,
String? panoId,
int? radius,
StreetViewSource? source}) {
assert(position != null || panoId != null);
assert(position == null || panoId == null);
return _streetViewFlutterPlatform.setPosition(viewId,
position: position, panoId: panoId, radius: radius, source: source);
}