fitBounds abstract method

void fitBounds(
  1. List<LatLng> points
)

Moves the camera to fit points.

Implementations whose provider reports no reason for a camera change should mix in MapMoveAttribution and call beginProgrammaticMove() immediately before the platform call, so the move it produces is not reported to the host as a user gesture. See MapMoveSource.

Implementation

void fitBounds(List<LatLng> points);