"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@turf/bbox"),r=require("@turf/circle"),t=require("./polygonCoords.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(e),n=o(r);exports.getGhostZoneBounds=function(e){if("radius"===e.type){var r=n.default([e.center.longitude,e.center.latitude],e.radius,{units:"miles",steps:64});return{geoJSON:r,bounds:u.default(r)}}var o=t.createPolygonGeoJSON(e.polygonCoords);return o?{geoJSON:o,bounds:u.default(o)}:null};
//# sourceMappingURL=getGhostZoneBounds.js.map
