newELocBounds static method

CameraELocUpdate newELocBounds(
  1. List<String> bounds, {
  2. double left = 0,
  3. double top = 0,
  4. double right = 0,
  5. double bottom = 0,
})

Returns a camera update that transforms the camera so that the specified geographical bounding box is centered in the map view at the greatest possible zoom level. A non-zero left, top, right and bottom padding insets the bounding box from the map view's edges. The camera's new tilt and bearing will both be 0.0.

Implementation

static CameraELocUpdate newELocBounds(List<String> bounds,
    {double left = 0, double top = 0, double right = 0, double bottom = 0}) {
  return CameraELocUpdate._(<dynamic>[
    'newELocBounds',
    bounds.toList(),
    left,
    top,
    right,
    bottom,
  ]);
}