kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
18 lines (17 loc) • 3.37 kB
JavaScript
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _verticalToolbar = _interopRequireDefault(require("../common/vertical-toolbar"));
var _templateObject; // SPDX-License-Identifier: MIT
// Copyright contributors to the kepler.gl project
function MapControlToolbar() {
var StyledToolbar = (0, _styledComponents["default"])(_verticalToolbar["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n position: absolute;\n right: 32px;\n transform: translateX(calc(-50% + 45px));\n\n .toolbar-item {\n width: 120px;\n padding: 13px 16px;\n flex-direction: row;\n justify-content: flex-start;\n\n .toolbar-item__svg-container {\n width: 16px;\n height: 16px;\n margin-right: 10px;\n }\n\n .toolbar-item__title {\n margin-left: auto;\n margin-right: auto;\n }\n }\n "])));
return StyledToolbar;
}
var _default = exports["default"] = MapControlToolbar;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfc3R5bGVkQ29tcG9uZW50cyIsIl9pbnRlcm9wUmVxdWlyZURlZmF1bHQiLCJyZXF1aXJlIiwiX3ZlcnRpY2FsVG9vbGJhciIsIl90ZW1wbGF0ZU9iamVjdCIsIk1hcENvbnRyb2xUb29sYmFyIiwiU3R5bGVkVG9vbGJhciIsInN0eWxlZCIsIlZlcnRpY2FsVG9vbGJhciIsIl90YWdnZWRUZW1wbGF0ZUxpdGVyYWwyIiwiX2RlZmF1bHQiLCJleHBvcnRzIl0sInNvdXJjZXMiOlsiLi4vLi4vc3JjL21hcC9tYXAtY29udHJvbC10b29sYmFyLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBTUERYLUxpY2V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