CameraFit.coordinates constructor
const
CameraFit.coordinates({
- required List<
LatLng> coordinates, - EdgeInsets padding,
- double? maxZoom,
- double minZoom,
- bool forceIntegerZoomLevel,
Fits the camera to the coordinates
, as closely as possible
For information about available options, see the documentation on the appropriate properties.
Allows for more fine grained boundaries when the camera is rotated. See https://github.com/fleaflet/flutter_map/pull/1549 for more information.
inside
is not supported due to lack of implementation.
Implementation
const factory CameraFit.coordinates({
required List<LatLng> coordinates,
EdgeInsets padding,
double? maxZoom,
double minZoom,
bool forceIntegerZoomLevel,
}) = FitCoordinates._;