@antv/l7-component 2.9.34 → 2.9.36-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/iconfont/iconfont.js +53 -0
- package/es/constants/index.d.ts +60 -0
- package/es/constants/index.js +60 -0
- package/es/control/baseControl/buttonControl.d.ts +59 -0
- package/es/control/baseControl/buttonControl.js +191 -0
- package/es/control/baseControl/control.d.ts +106 -0
- package/es/control/baseControl/control.js +301 -0
- package/es/control/baseControl/index.d.ts +4 -0
- package/es/control/baseControl/index.js +4 -0
- package/es/control/baseControl/popperControl.d.ts +26 -0
- package/es/control/baseControl/popperControl.js +131 -0
- package/es/control/baseControl/selectControl.d.ts +46 -0
- package/es/control/baseControl/selectControl.js +232 -0
- package/es/control/exportImage.d.ts +18 -0
- package/es/control/exportImage.js +163 -0
- package/es/control/fullscreen.d.ts +19 -0
- package/es/control/fullscreen.js +151 -0
- package/es/control/geoLocate.d.ts +16 -0
- package/es/control/geoLocate.js +139 -0
- package/es/control/layerControl.d.ts +21 -0
- package/es/control/layerControl.js +172 -0
- package/es/control/logo.d.ts +10 -6
- package/es/control/logo.js +41 -11
- package/es/control/mapTheme.d.ts +10 -0
- package/es/control/mapTheme.js +135 -0
- package/es/control/mouseLocation.d.ts +15 -0
- package/es/control/mouseLocation.js +104 -0
- package/es/control/scale.d.ts +20 -10
- package/es/control/scale.js +77 -53
- package/es/control/zoom.d.ts +21 -10
- package/es/control/zoom.js +76 -49
- package/es/css/button.less +70 -0
- package/es/css/control.less +71 -0
- package/es/css/index.css +567 -0
- package/es/css/index.less +12 -0
- package/es/css/l7.less +60 -0
- package/es/css/layerPopup.less +8 -0
- package/es/css/logo.less +18 -0
- package/es/css/mouseLocation.less +9 -0
- package/es/css/popper.less +64 -0
- package/es/css/popup.less +169 -0
- package/es/css/scale.less +34 -0
- package/es/css/select.less +86 -0
- package/es/css/variables.less +28 -0
- package/es/css/zoom.less +21 -0
- package/es/images/logo.png +0 -0
- package/es/images/quanping.svg +12 -0
- package/es/index.d.ts +15 -8
- package/es/index.js +15 -9
- package/es/interface.d.ts +1 -20
- package/es/popup/layerPopup.d.ts +78 -0
- package/es/popup/layerPopup.js +308 -0
- package/es/popup/popup.d.ts +147 -0
- package/es/popup/popup.js +636 -0
- package/es/utils/icon.d.ts +1 -0
- package/es/utils/icon.js +9 -0
- package/es/utils/popper.d.ts +75 -0
- package/es/utils/popper.js +286 -0
- package/es/utils/screenfull.d.ts +2 -0
- package/es/utils/screenfull.js +157 -0
- package/lib/assets/iconfont/iconfont.js +55 -0
- package/lib/constants/index.js +68 -0
- package/lib/control/baseControl/buttonControl.js +207 -0
- package/lib/control/baseControl/control.js +333 -0
- package/lib/control/baseControl/index.js +57 -0
- package/lib/control/baseControl/popperControl.js +142 -0
- package/lib/control/baseControl/selectControl.js +253 -0
- package/lib/control/exportImage.js +177 -0
- package/lib/control/fullscreen.js +164 -0
- package/lib/control/geoLocate.js +154 -0
- package/lib/control/layerControl.js +182 -0
- package/lib/control/logo.js +50 -23
- package/lib/control/mapTheme.js +151 -0
- package/lib/control/mouseLocation.js +120 -0
- package/lib/control/scale.js +82 -62
- package/lib/control/zoom.js +78 -59
- package/lib/css/button.less +70 -0
- package/lib/css/control.less +71 -0
- package/lib/css/index.css +567 -0
- package/lib/css/index.less +12 -0
- package/lib/css/l7.less +60 -0
- package/lib/css/layerPopup.less +8 -0
- package/lib/css/logo.less +18 -0
- package/lib/css/mouseLocation.less +9 -0
- package/lib/css/popper.less +64 -0
- package/lib/css/popup.less +169 -0
- package/lib/css/scale.less +34 -0
- package/lib/css/select.less +86 -0
- package/lib/css/variables.less +28 -0
- package/lib/css/zoom.less +21 -0
- package/lib/images/logo.png +0 -0
- package/lib/images/quanping.svg +12 -0
- package/lib/index.js +165 -50
- package/lib/popup/layerPopup.js +317 -0
- package/lib/popup/popup.js +651 -0
- package/lib/utils/icon.js +18 -0
- package/lib/utils/popper.js +297 -0
- package/lib/utils/screenfull.js +167 -0
- package/package.json +8 -5
- package/es/control/BaseControl.d.ts +0 -27
- package/es/control/BaseControl.js +0 -134
- package/es/control/layer.d.ts +0 -38
- package/es/control/layer.js +0 -340
- package/es/css/l7.css +0 -502
- package/es/popup.d.ts +0 -35
- package/es/popup.js +0 -300
- package/lib/control/BaseControl.js +0 -160
- package/lib/control/layer.js +0 -362
- package/lib/css/l7.css +0 -502
- package/lib/popup.js +0 -317
package/lib/control/layer.js
DELETED
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
-
|
|
12
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
-
|
|
14
|
-
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
|
|
15
|
-
|
|
16
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
-
|
|
18
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
19
|
-
|
|
20
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
21
|
-
|
|
22
|
-
var _l7Core = require("@antv/l7-core");
|
|
23
|
-
|
|
24
|
-
var _l7Utils = require("@antv/l7-utils");
|
|
25
|
-
|
|
26
|
-
var _BaseControl = _interopRequireDefault(require("./BaseControl"));
|
|
27
|
-
|
|
28
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
29
|
-
|
|
30
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
|
-
|
|
32
|
-
var Layers = /*#__PURE__*/function (_Control) {
|
|
33
|
-
(0, _inherits2.default)(Layers, _Control);
|
|
34
|
-
|
|
35
|
-
var _super = _createSuper(Layers);
|
|
36
|
-
|
|
37
|
-
function Layers(cfg) {
|
|
38
|
-
var _this;
|
|
39
|
-
|
|
40
|
-
(0, _classCallCheck2.default)(this, Layers);
|
|
41
|
-
_this = _super.call(this, cfg);
|
|
42
|
-
_this.layerControlInputs = [];
|
|
43
|
-
_this.layers = [];
|
|
44
|
-
_this.lastZIndex = 0;
|
|
45
|
-
_this.handlingClick = false;
|
|
46
|
-
|
|
47
|
-
_this.initLayers();
|
|
48
|
-
|
|
49
|
-
(0, _l7Utils.bindAll)(['checkDisabledLayers', 'onLayerChange', 'collapse', 'extend', 'expand', 'onInputClick'], (0, _assertThisInitialized2.default)(_this));
|
|
50
|
-
return _this;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
(0, _createClass2.default)(Layers, [{
|
|
54
|
-
key: "getDefault",
|
|
55
|
-
value: function getDefault() {
|
|
56
|
-
return {
|
|
57
|
-
collapsed: true,
|
|
58
|
-
position: _l7Core.PositionType.TOPRIGHT,
|
|
59
|
-
autoZIndex: true,
|
|
60
|
-
hideSingleBase: false,
|
|
61
|
-
sortLayers: false,
|
|
62
|
-
name: 'layers'
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
}, {
|
|
66
|
-
key: "onAdd",
|
|
67
|
-
value: function onAdd() {
|
|
68
|
-
var _this2 = this;
|
|
69
|
-
|
|
70
|
-
this.initLayout();
|
|
71
|
-
this.update();
|
|
72
|
-
this.mapsService.on('zoomend', this.checkDisabledLayers);
|
|
73
|
-
this.layers.forEach(function (layerItem) {
|
|
74
|
-
layerItem.layer.on('remove', _this2.onLayerChange);
|
|
75
|
-
layerItem.layer.on('add', _this2.onLayerChange);
|
|
76
|
-
});
|
|
77
|
-
return this.container;
|
|
78
|
-
}
|
|
79
|
-
}, {
|
|
80
|
-
key: "addVisualLayer",
|
|
81
|
-
value: function addVisualLayer(layer, name) {
|
|
82
|
-
this.addLayer(layer, name, true);
|
|
83
|
-
return this.mapsService ? this.update() : this;
|
|
84
|
-
}
|
|
85
|
-
}, {
|
|
86
|
-
key: "expand",
|
|
87
|
-
value: function expand() {
|
|
88
|
-
var _this$renderService$g = this.renderService.getViewportSize(),
|
|
89
|
-
height = _this$renderService$g.height;
|
|
90
|
-
|
|
91
|
-
_l7Utils.DOM.addClass(this.container, 'l7-control-layers-expanded');
|
|
92
|
-
|
|
93
|
-
this.form.style.height = 'null';
|
|
94
|
-
var acceptableHeight = height - (this.container.offsetTop + 50);
|
|
95
|
-
|
|
96
|
-
if (acceptableHeight < this.form.clientHeight) {
|
|
97
|
-
_l7Utils.DOM.addClass(this.form, 'l7-control-layers-scrollbar');
|
|
98
|
-
|
|
99
|
-
this.form.style.height = acceptableHeight + 'px';
|
|
100
|
-
} else {
|
|
101
|
-
_l7Utils.DOM.removeClass(this.form, 'l7-control-layers-scrollbar');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
this.checkDisabledLayers();
|
|
105
|
-
return this;
|
|
106
|
-
}
|
|
107
|
-
}, {
|
|
108
|
-
key: "collapse",
|
|
109
|
-
value: function collapse() {
|
|
110
|
-
_l7Utils.DOM.removeClass(this.container, 'l7-control-layers-expanded');
|
|
111
|
-
|
|
112
|
-
return this;
|
|
113
|
-
}
|
|
114
|
-
}, {
|
|
115
|
-
key: "onRemove",
|
|
116
|
-
value: function onRemove() {
|
|
117
|
-
var _this3 = this;
|
|
118
|
-
|
|
119
|
-
if (!this.mapsService) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
this.mapsService.off('click', this.collapse);
|
|
124
|
-
this.layers.forEach(function (layerItem) {
|
|
125
|
-
layerItem.layer.off('remove', _this3.onLayerChange);
|
|
126
|
-
layerItem.layer.off('add', _this3.onLayerChange);
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
}, {
|
|
130
|
-
key: "initLayout",
|
|
131
|
-
value: function initLayout() {
|
|
132
|
-
var className = 'l7-control-layers';
|
|
133
|
-
|
|
134
|
-
var container = this.container = _l7Utils.DOM.create('div', className);
|
|
135
|
-
|
|
136
|
-
var collapsed = this.controlOption.collapsed; // makes this work on IE touch devices by stopping it from firing a mouseout event when the touch is released
|
|
137
|
-
|
|
138
|
-
container.setAttribute('aria-haspopup', 'true');
|
|
139
|
-
|
|
140
|
-
var form = this.form = _l7Utils.DOM.create('form', className + '-list');
|
|
141
|
-
|
|
142
|
-
if (collapsed) {
|
|
143
|
-
this.mapsService.on('click', this.collapse);
|
|
144
|
-
container.addEventListener('mouseenter', this.expand);
|
|
145
|
-
container.addEventListener('mouseleave', this.collapse);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
this.layersLink = _l7Utils.DOM.create('a', className + '-toggle', container);
|
|
149
|
-
var link = this.layersLink; // link.href = '#';
|
|
150
|
-
|
|
151
|
-
link.title = 'Layers';
|
|
152
|
-
|
|
153
|
-
if (!collapsed) {
|
|
154
|
-
this.expand();
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
this.baseLayersList = _l7Utils.DOM.create('div', className + '-base', form);
|
|
158
|
-
this.separator = _l7Utils.DOM.create('div', className + '-separator', form);
|
|
159
|
-
this.overlaysList = _l7Utils.DOM.create('div', className + '-overlays', form);
|
|
160
|
-
container.appendChild(form);
|
|
161
|
-
}
|
|
162
|
-
}, {
|
|
163
|
-
key: "initLayers",
|
|
164
|
-
value: function initLayers() {
|
|
165
|
-
var _this4 = this;
|
|
166
|
-
|
|
167
|
-
var _this$controlOption = this.controlOption,
|
|
168
|
-
_this$controlOption$b = _this$controlOption.baseLayers,
|
|
169
|
-
baseLayers = _this$controlOption$b === void 0 ? {} : _this$controlOption$b,
|
|
170
|
-
_this$controlOption$o = _this$controlOption.overlayers,
|
|
171
|
-
overlayers = _this$controlOption$o === void 0 ? {} : _this$controlOption$o;
|
|
172
|
-
Object.keys(baseLayers).forEach(function (name) {
|
|
173
|
-
// baseLayers[name].once('inited', this.update);
|
|
174
|
-
_this4.addLayer(baseLayers[name], name, false);
|
|
175
|
-
});
|
|
176
|
-
Object.keys(overlayers).forEach(function (name) {
|
|
177
|
-
// overlayers[name].once('inited', this.update);
|
|
178
|
-
_this4.addLayer(overlayers[name], name, true);
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
}, {
|
|
182
|
-
key: "update",
|
|
183
|
-
value: function update() {
|
|
184
|
-
if (!this.container) {
|
|
185
|
-
return this;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
_l7Utils.DOM.empty(this.baseLayersList);
|
|
189
|
-
|
|
190
|
-
_l7Utils.DOM.empty(this.overlaysList);
|
|
191
|
-
|
|
192
|
-
this.layerControlInputs = [];
|
|
193
|
-
var baseLayersPresent;
|
|
194
|
-
var overlaysPresent;
|
|
195
|
-
var i;
|
|
196
|
-
var obj;
|
|
197
|
-
var baseLayersCount = 0;
|
|
198
|
-
|
|
199
|
-
for (i = 0; i < this.layers.length; i++) {
|
|
200
|
-
obj = this.layers[i];
|
|
201
|
-
this.addItem(obj);
|
|
202
|
-
overlaysPresent = overlaysPresent || obj.overlay;
|
|
203
|
-
baseLayersPresent = baseLayersPresent || !obj.overlay;
|
|
204
|
-
baseLayersCount += !obj.overlay ? 1 : 0;
|
|
205
|
-
} // Hide base layers section if there's only one layer.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (this.controlOption.hideSingleBase) {
|
|
209
|
-
baseLayersPresent = baseLayersPresent && baseLayersCount > 1;
|
|
210
|
-
this.baseLayersList.style.display = baseLayersPresent ? '' : 'none';
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
this.separator.style.display = overlaysPresent && baseLayersPresent ? '' : 'none';
|
|
214
|
-
return this;
|
|
215
|
-
}
|
|
216
|
-
}, {
|
|
217
|
-
key: "checkDisabledLayers",
|
|
218
|
-
value: function checkDisabledLayers() {
|
|
219
|
-
var inputs = this.layerControlInputs;
|
|
220
|
-
var input;
|
|
221
|
-
var layer;
|
|
222
|
-
var zoom = this.mapsService.getZoom();
|
|
223
|
-
|
|
224
|
-
for (var i = inputs.length - 1; i >= 0; i--) {
|
|
225
|
-
input = inputs[i];
|
|
226
|
-
layer = this.layerService.getLayer(input.layerId);
|
|
227
|
-
|
|
228
|
-
if (layer && layer.inited) {
|
|
229
|
-
var minZoom = layer.getMinZoom();
|
|
230
|
-
var maxZoom = layer.getMaxZoom();
|
|
231
|
-
input.disabled = zoom < minZoom || zoom > maxZoom;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}, {
|
|
236
|
-
key: "addLayer",
|
|
237
|
-
value: function addLayer(layer, name, overlay) {
|
|
238
|
-
if (this.mapsService) {
|
|
239
|
-
layer.on('add', this.onLayerChange);
|
|
240
|
-
layer.on('remove', this.onLayerChange);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
this.layers.push({
|
|
244
|
-
layer: layer,
|
|
245
|
-
name: name,
|
|
246
|
-
overlay: overlay
|
|
247
|
-
});
|
|
248
|
-
var _this$controlOption2 = this.controlOption,
|
|
249
|
-
sortLayers = _this$controlOption2.sortLayers,
|
|
250
|
-
sortFunction = _this$controlOption2.sortFunction,
|
|
251
|
-
autoZIndex = _this$controlOption2.autoZIndex;
|
|
252
|
-
|
|
253
|
-
if (sortLayers) {
|
|
254
|
-
this.layers.sort(function (a, b) {
|
|
255
|
-
return sortFunction(a.layer, b.layer, a.name, b.name);
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
if (autoZIndex && layer.setZIndex) {
|
|
260
|
-
this.lastZIndex++;
|
|
261
|
-
layer.setZIndex(this.lastZIndex);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
this.expandIfNotCollapsed();
|
|
265
|
-
}
|
|
266
|
-
}, {
|
|
267
|
-
key: "expandIfNotCollapsed",
|
|
268
|
-
value: function expandIfNotCollapsed() {
|
|
269
|
-
if (this.mapsService && !this.controlOption.collapsed) {
|
|
270
|
-
this.expand();
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
return this;
|
|
274
|
-
}
|
|
275
|
-
}, {
|
|
276
|
-
key: "onLayerChange",
|
|
277
|
-
value: function onLayerChange(e) {
|
|
278
|
-
if (!this.handlingClick) {
|
|
279
|
-
this.update();
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
var obj = this.layerService.getLayer(e.target.layerId); // @ts-ignore
|
|
283
|
-
|
|
284
|
-
var type = obj !== null && obj !== void 0 && obj.overlay ? e.type === 'add' ? 'overlayadd' : 'overlayremove' : e.type === 'add' ? 'baselayerchange' : null;
|
|
285
|
-
|
|
286
|
-
if (type) {
|
|
287
|
-
this.emit(type, obj);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}, {
|
|
291
|
-
key: "createRadioElement",
|
|
292
|
-
value: function createRadioElement(name, checked) {
|
|
293
|
-
var radioHtml = '<input type="radio" class="l7-control-layers-selector" name="' + name + '"' + (checked ? ' checked="checked"' : '') + '/>';
|
|
294
|
-
var radioFragment = document.createElement('div');
|
|
295
|
-
radioFragment.innerHTML = radioHtml;
|
|
296
|
-
return radioFragment.firstChild;
|
|
297
|
-
}
|
|
298
|
-
}, {
|
|
299
|
-
key: "addItem",
|
|
300
|
-
value: function addItem(obj) {
|
|
301
|
-
var label = document.createElement('label');
|
|
302
|
-
var layer = this.layerService.getLayer(obj.layer.id);
|
|
303
|
-
var checked = layer && layer.inited && obj.layer.isVisible();
|
|
304
|
-
var input;
|
|
305
|
-
|
|
306
|
-
if (obj.overlay) {
|
|
307
|
-
input = document.createElement('input');
|
|
308
|
-
input.type = 'checkbox';
|
|
309
|
-
input.className = 'l7-control-layers-selector';
|
|
310
|
-
input.defaultChecked = checked;
|
|
311
|
-
} else {
|
|
312
|
-
input = this.createRadioElement('l7-base-layers', checked);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
this.layerControlInputs.push(input);
|
|
316
|
-
input.layerId = obj.layer.id;
|
|
317
|
-
input.addEventListener('click', this.onInputClick);
|
|
318
|
-
var name = document.createElement('span');
|
|
319
|
-
name.innerHTML = ' ' + obj.name;
|
|
320
|
-
var holder = document.createElement('div');
|
|
321
|
-
label.appendChild(holder);
|
|
322
|
-
holder.appendChild(input);
|
|
323
|
-
holder.appendChild(name);
|
|
324
|
-
var container = obj.overlay ? this.overlaysList : this.baseLayersList;
|
|
325
|
-
container.appendChild(label);
|
|
326
|
-
this.checkDisabledLayers();
|
|
327
|
-
return label;
|
|
328
|
-
}
|
|
329
|
-
}, {
|
|
330
|
-
key: "onInputClick",
|
|
331
|
-
value: function onInputClick() {
|
|
332
|
-
var inputs = this.layerControlInputs;
|
|
333
|
-
var input;
|
|
334
|
-
var layer;
|
|
335
|
-
var addedLayers = [];
|
|
336
|
-
var removedLayers = [];
|
|
337
|
-
this.handlingClick = true;
|
|
338
|
-
|
|
339
|
-
for (var i = inputs.length - 1; i >= 0; i--) {
|
|
340
|
-
input = inputs[i];
|
|
341
|
-
layer = this.layerService.getLayer(input.layerId);
|
|
342
|
-
|
|
343
|
-
if (input.checked) {
|
|
344
|
-
addedLayers.push(layer);
|
|
345
|
-
} else if (!input.checked) {
|
|
346
|
-
removedLayers.push(layer);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
removedLayers.forEach(function (l) {
|
|
351
|
-
l.hide();
|
|
352
|
-
});
|
|
353
|
-
addedLayers.forEach(function (l) {
|
|
354
|
-
l.show();
|
|
355
|
-
});
|
|
356
|
-
this.handlingClick = false;
|
|
357
|
-
}
|
|
358
|
-
}]);
|
|
359
|
-
return Layers;
|
|
360
|
-
}(_BaseControl.default);
|
|
361
|
-
|
|
362
|
-
exports.default = Layers;
|