function r(r,t,o={}){let e={type:"Feature"};return(0===o.id||o.id)&&(e.id=o.id),o.bbox&&(e.bbox=o.bbox),e.properties=t||{},e.geometry=r,e}function t(t,o,n={}){if(!t)throw Error("coordinates is required");if(!Array.isArray(t))throw Error("coordinates must be an Array");if(t.length<2)throw Error("coordinates must be at least 2 numbers long");if(!e(t[0])||!e(t[1]))throw Error("coordinates must contain numbers");return r({type:"Point",coordinates:t},o,n)}function o(t,o,e={}){return r({type:"MultiPoint",coordinates:t},o,e)}function e(r){return!isNaN(r)&&null!==r&&!Array.isArray(r)}Math.PI;export{o as n,t};
//# sourceMappingURL=esm-Be30MpcN-ls4GMpDI.js.map