UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

140 lines (139 loc) 11.5 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); var _exportNames = { ThreeDBuildingLayer: true, DeckGLClusterLayer: true, EnhancedColumnLayer: true, EnhancedGridLayer: true, EnhancedHexagonLayer: true, EnhancedLineLayer: true, SvgIconLayer: true, FilterArrowExtension: true, RasterLayer: true, RasterMeshLayer: true, RasterWebGL: true, WMSLayer: true }; Object.defineProperty(exports, "DeckGLClusterLayer", { enumerable: true, get: function get() { return _clusterLayer["default"]; } }); Object.defineProperty(exports, "EnhancedColumnLayer", { enumerable: true, get: function get() { return _enhancedColumnLayer["default"]; } }); Object.defineProperty(exports, "EnhancedGridLayer", { enumerable: true, get: function get() { return _enhancedCpuGridLayer["default"]; } }); Object.defineProperty(exports, "EnhancedHexagonLayer", { enumerable: true, get: function get() { return _enhancedHexagonLayer["default"]; } }); Object.defineProperty(exports, "EnhancedLineLayer", { enumerable: true, get: function get() { return _lineLayer["default"]; } }); Object.defineProperty(exports, "FilterArrowExtension", { enumerable: true, get: function get() { return _filterArrowLayer["default"]; } }); Object.defineProperty(exports, "RasterLayer", { enumerable: true, get: function get() { return _rasterLayer["default"]; } }); Object.defineProperty(exports, "RasterMeshLayer", { enumerable: true, get: function get() { return _rasterMeshLayer["default"]; } }); exports.RasterWebGL = void 0; Object.defineProperty(exports, "SvgIconLayer", { enumerable: true, get: function get() { return _svgIconLayer["default"]; } }); Object.defineProperty(exports, "ThreeDBuildingLayer", { enumerable: true, get: function get() { return _dBuildingLayer["default"]; } }); Object.defineProperty(exports, "WMSLayer", { enumerable: true, get: function get() { return _wmsLayer["default"]; } }); var _dBuildingLayer = _interopRequireDefault(require("./3d-building-layer/3d-building-layer")); var _clusterLayer = _interopRequireDefault(require("./cluster-layer/cluster-layer")); var _enhancedColumnLayer = _interopRequireDefault(require("./column-layer/enhanced-column-layer")); var _enhancedCpuGridLayer = _interopRequireDefault(require("./grid-layer/enhanced-cpu-grid-layer")); var _enhancedHexagonLayer = _interopRequireDefault(require("./hexagon-layer/enhanced-hexagon-layer")); var _lineLayer = _interopRequireDefault(require("./line-layer/line-layer")); var _svgIconLayer = _interopRequireDefault(require("./svg-icon-layer/svg-icon-layer")); var _filterArrowLayer = _interopRequireDefault(require("./deckgl-extensions/filter-arrow-layer")); var _rasterLayer = _interopRequireDefault(require("./raster/raster-layer/raster-layer")); var _rasterMeshLayer = _interopRequireDefault(require("./raster/raster-mesh-layer/raster-mesh-layer")); var _RasterWebGL = _interopRequireWildcard(require("./raster/webgl")); exports.RasterWebGL = _RasterWebGL; var _wmsLayer = _interopRequireDefault(require("./wms/wms-layer")); var _shaderUtils = require("./layer-utils/shader-utils"); Object.keys(_shaderUtils).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; if (key in exports && exports[key] === _shaderUtils[key]) return; Object.defineProperty(exports, key, { enumerable: true, get: function get() { return _shaderUtils[key]; } }); }); var _types = require("./3d-building-layer/types"); Object.keys(_types).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; if (key in exports && exports[key] === _types[key]) return; Object.defineProperty(exports, key, { enumerable: true, get: function get() { return _types[key]; } }); }); var _dBuildingUtils = require("./3d-building-layer/3d-building-utils"); Object.keys(_dBuildingUtils).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; if (key in exports && exports[key] === _dBuildingUtils[key]) return; Object.defineProperty(exports, key, { enumerable: true, get: function get() { return _dBuildingUtils[key]; } }); }); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; } //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfZEJ1aWxkaW5nTGF5ZXIiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl9jbHVzdGVyTGF5ZXIiLCJfZW5oYW5jZWRDb2x1bW5MYXllciIsIl9lbmhhbmNlZENwdUdyaWRMYXllciIsIl9lbmhhbmNlZEhleGFnb25MYXllciIsIl9saW5lTGF5ZXIiLCJfc3ZnSWNvbkxheWVyIiwiX2ZpbHRlckFycm93TGF5ZXIiLCJfcmFzdGVyTGF5ZXIiLCJfcmFzdGVyTWVzaExheWVyIiwiX1Jhc3RlcldlYkdMIiwiX2ludGVyb3BSZXF1aXJlV2lsZGNhcmQiLCJleHBvcnRzIiwiUmFzdGVyV2ViR0wiLCJfd21zTGF5ZXIiLCJfc2hhZGVyVXRpbHMiLCJPYmplY3QiLCJrZXlzIiwiZm9yRWFjaCIsImtleSIsInByb3RvdHlwZSIsImhhc093blByb3BlcnR5IiwiY2FsbCIsIl9leHBvcnROYW1lcyIsImRlZmluZVByb3BlcnR5IiwiZW51bWVyYWJsZSIsImdldCIsIl90eXBlcyIsIl9kQnVpbGRpbmdVdGlscyIsIl9nZXRSZXF1aXJlV2lsZGNhcmRDYWNoZSIsImUiLCJXZWFrTWFwIiwiciIsInQiLCJfX2VzTW9kdWxlIiwiX3R5cGVvZiIsImhhcyIsIm4iLCJfX3Byb3RvX18iLCJhIi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