import r from"@turf/bbox";import o from"@turf/circle";import{createPolygonGeoJSON as t}from"./polygonCoords.js";var e=function(e){if("radius"===e.type){var n=o([e.center.longitude,e.center.latitude],e.radius,{units:"miles",steps:64});return{geoJSON:n,bounds:r(n)}}var u=t(e.polygonCoords);return u?{geoJSON:u,bounds:r(u)}:null};export{e as getGhostZoneBounds};
//# sourceMappingURL=getGhostZoneBounds.js.map
