Updated documentation for pad method to accurately reflect the function. (#5748)

This commit is contained in:
Calvin Williams 2017-08-31 18:27:20 -04:00 committed by Iván Sánchez Ortega
parent 88dd22cfe8
commit b0e216aa54

View File

@ -77,7 +77,9 @@ LatLngBounds.prototype = {
},
// @method pad(bufferRatio: Number): LatLngBounds
// Returns bigger bounds created by extending the current bounds by a given percentage in each direction.
// 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.
pad: function (bufferRatio) {
var sw = this._southWest,
ne = this._northEast,