@turf/envelope5.1.5 • Public • Published
Takes any number of features and returns a rectangular Polygon that encompasses all vertices.
geojsonGeoJSON input features
var features = turf;var enveloped = turf;//addToMapvar addToMap = features enveloped;
Install this module individually:
$ npm install @turf/envelope
Or install the Turf module that includes it as a function:
$ npm install @turf/turf