1.0.3 • Published 4 years ago

turf-boxaround v1.0.3

Weekly downloads
41
License
MIT
Repository
github
Last release
4 years ago

turf-boxaround

BoxAround

Finds a box around any feature or feature collection.

Parameters

  • Feature The shapes to get the box around.
  • options.paddingMeters The meters of padding to add to the shape on all sides. Defaults to 10,000 Meters

Examples

const polygon = turf.polygon([[
  [128, -26],
  [141, -26],
  [141, -21],
  [128, -21],
  [128, -26]
]]);

const boxPolygon = boxAround(polygon);
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago