geo-toolkits
Version:
A comprehensive TypeScript library for geospatial operations including geofencing, polygon containment, area calculations, and coordinate processing. Supports GeoJSON, KML, and KMZ file formats with both local file and remote URL loading capabilities.
16 lines (15 loc) • 1.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERROR_CODES = exports.ValidationError = exports.ParseError = exports.FileLoadError = exports.GeoToolkitsError = exports.GeoToolKit = void 0;
// Import and re-export the main class
const geokit_1 = require("./core/geokit");
Object.defineProperty(exports, "GeoToolKit", { enumerable: true, get: function () { return geokit_1.GeoToolKit; } });
// Error classes
var errors_1 = require("./utils/errors");
Object.defineProperty(exports, "GeoToolkitsError", { enumerable: true, get: function () { return errors_1.GeoToolkitsError; } });
Object.defineProperty(exports, "FileLoadError", { enumerable: true, get: function () { return errors_1.FileLoadError; } });
Object.defineProperty(exports, "ParseError", { enumerable: true, get: function () { return errors_1.ParseError; } });
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return errors_1.ValidationError; } });
Object.defineProperty(exports, "ERROR_CODES", { enumerable: true, get: function () { return errors_1.ERROR_CODES; } });
// Default export (now TypeScript knows what GeoToolKit is)
exports.default = geokit_1.GeoToolKit;