1 | import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
2 | import _createClass from "@babel/runtime/helpers/createClass";
|
3 | import _inherits from "@babel/runtime/helpers/inherits";
|
4 | import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
5 | import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
6 |
|
7 | function _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 |
|
9 | function _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 |
|
11 | import BaseMapWrapper from '../BaseMapWrapper';
|
12 |
|
13 | require('load-styles')("/* @antv/l7-maps */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n");
|
14 |
|
15 | import MapboxService from './map';
|
16 |
|
17 | var 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 |
|
38 | export { MapboxWrapper as default };
|
39 |
|
\ | No newline at end of file |