UNPKG

1.82 kBJavaScriptView Raw
1import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2import _createClass from "@babel/runtime/helpers/createClass";
3import _inherits from "@babel/runtime/helpers/inherits";
4import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
7function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
9function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
10
11import BaseMapWrapper from '../BaseMapWrapper';
12
13require('load-styles')("/* @antv/l7-maps */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n");
14
15import MapboxService from './map';
16
17var MapboxWrapper = function (_BaseMapWrapper) {
18 _inherits(MapboxWrapper, _BaseMapWrapper);
19
20 var _super = _createSuper(MapboxWrapper);
21
22 function MapboxWrapper() {
23 _classCallCheck(this, MapboxWrapper);
24
25 return _super.apply(this, arguments);
26 }
27
28 _createClass(MapboxWrapper, [{
29 key: "getServiceConstructor",
30 value: function getServiceConstructor() {
31 return MapboxService;
32 }
33 }]);
34
35 return MapboxWrapper;
36}(BaseMapWrapper);
37
38export { MapboxWrapper as default };
39//# sourceMappingURL=index.js.map
\No newline at end of file