enlarge method

MapRectangle enlarge(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Creates a new MapRectangle by enlarging this rectangle by the given amounts.

Implementation

MapRectangle enlarge(double left, double top, double right, double bottom) {
  return MapRectangle(this.left - left, this.top - top, this.right + right, this.bottom + bottom);
}