diff --git a/src/models/Field.ts b/src/models/Field.ts index ce46db4..9ccdb4e 100644 --- a/src/models/Field.ts +++ b/src/models/Field.ts @@ -158,7 +158,8 @@ export class Field { /** * Returns a LngLatBounds object containing the southwest and northeast corners of a box to contain the field, spacing can also be provided * to pad the sides of the bounding area - * @param spacing - an optional paramater that will expand the bounding area by the given long lat amount + * @param spacing number(optional) - an optional paramater that will expand the bounding area by the given long lat amount + * @param squared boolean(optional) - when true will adjust the bounds by extending the narrower edge to match the wider edge * @returns LngLatBounds - an object containing the southwest and northeast coordinates of a bounding box */ public fieldBounds(spacing?: number, squared?: boolean): LngLatBounds {