kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
27 lines (25 loc) • 3.02 kB
JavaScript
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _addByDatasetButton = _interopRequireDefault(require("../add-by-dataset-button"));
// SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
function AddFilterButtonFactory() {
var AddFilterButton = function AddFilterButton(_ref) {
var datasets = _ref.datasets,
onAdd = _ref.onAdd;
return /*#__PURE__*/_react["default"].createElement(_addByDatasetButton["default"], {
datasets: datasets,
className: "add-filter-button",
onAdd: onAdd,
buttonIntlId: "filterManager.addFilter"
});
};
return AddFilterButton;
}
var _default = exports["default"] = AddFilterButtonFactory;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfcmVhY3QiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwicmVxdWlyZSIsIl9hZGRCeURhdGFzZXRCdXR0b24iLCJBZGRGaWx0ZXJCdXR0b25GYWN0b3J5IiwiQWRkRmlsdGVyQnV0dG9uIiwiX3JlZiIsImRhdGFzZXRzIiwib25BZGQiLCJjcmVhdGVFbGVtZW50IiwiY2xhc3NOYW1lIiwiYnV0dG9uSW50bElkIiwiX2RlZmF1bHQiLCJleHBvcnRzIl0sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3NpZGUtcGFuZWwvZmlsdGVyLXBhbmVsL2FkZC1maWx0ZXItYnV0dG9uLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUXG4vLyBDb3B5cmlnaHQgY29udHJpYnV0b3JzIHRvIHRoZSBrZXBsZXIuZ2wgcHJvamVjdFxuXG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHtEYXRhc2V0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