/turf-bboxPolygon

Primary LanguageJavaScriptMIT LicenseMIT

turf-bboxPolygon

Build Status

Takes a bbox and returns the equivalent polygon feature.

var bboxPoly = require('turf-bbox-polygon')
var bbox = [0,0,10,10]

var poly = bboxPoly(bbox)
console.log(poly)