moveAndRotate method

  1. @override
MoveAndRotateResult moveAndRotate(
  1. LatLng center,
  2. double zoom,
  3. double degree, {
  4. String? id,
})
override

Calls move and rotate together however layers will rebuild just once instead of twice

Implementation

@override
MoveAndRotateResult moveAndRotate(LatLng center, double zoom, double degree,
    {String? id}) {
  return _state.moveAndRotate(center, zoom, degree,
      source: MapEventSource.mapController, id: id);
}