pad method

LatLngBounds pad(
  1. double bufferRatio
)

Returns bounds created by extending or retracting the current bounds by a given ratio in each direction. For example, a ratio of 0.5 extends the bounds by 50% in each direction. Negative values will retract the bounds.

Implementation

external LatLngBounds pad(double bufferRatio);