moveAndRotate method
MoveAndRotateResult
moveAndRotate(
- LatLng center,
- double zoom,
- double degree, {
- required MapEventSource source,
- String? id,
Implementation
MoveAndRotateResult moveAndRotate(LatLng center, double zoom, double degree,
{required MapEventSource source, String? id}) {
final moveSucc =
move(center, zoom, id: id, source: source, callOnMoveSink: false);
final rotateSucc =
rotate(degree, id: id, source: source, callOnMoveSink: false);
if (moveSucc || rotateSucc) {
_onMoveSink.add(null);
}
return MoveAndRotateResult(moveSucc, rotateSucc);
}