kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
39 lines (37 loc) • 3.09 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.keplerGlDuckDBPlugin = void 0;
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
var _init = require("./init");
// SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
var keplerGlDuckDBPlugin = exports.keplerGlDuckDBPlugin = {
name: 'duckdb',
init: function init() {
return (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0, _init.initializeDuckDb)({
config: {
query: {
castBigIntToDouble: true
}
}
});
case 2:
console.log('kepler.gl DuckDB Plugin initialized');
case 3:
case "end":
return _context.stop();
}
}, _callee);
}))();
}
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfaW5pdCIsInJlcXVpcmUiLCJrZXBsZXJHbER1Y2tEQlBsdWdpbiIsImV4cG9ydHMiLCJuYW1lIiwiaW5pdCIsIl9hc3luY1RvR2VuZXJhdG9yMiIsIl9yZWdlbmVyYXRvciIsIm1hcmsiLCJfY2FsbGVlIiwid3JhcCIsIl9jYWxsZWUkIiwiX2NvbnRleHQiLCJwcmV2IiwibmV4dCIsImluaXRpYWxpemVEdWNrRGIiLCJjb25maWciLCJxdWVyeSIsImNhc3RCaWdJbnRUb0RvdWJsZSIsImNvbnNvbGUiLCJsb2ciLCJzdG9wIl0sInNvdXJjZXMiOlsiLi4vc3JjL3BsdWdpbi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUXG4vLyBDb3B5cm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