@antv/l7-component 2.25.6 → 2.25.7

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.
Files changed (151) hide show
  1. package/package.json +5 -5
  2. package/es/assets/iconfont/iconfont.d.ts +0 -21
  3. package/es/assets/iconfont/iconfont.js +0 -61
  4. package/es/constants/index.d.ts +0 -60
  5. package/es/constants/index.js +0 -60
  6. package/es/control/baseControl/buttonControl.d.ts +0 -60
  7. package/es/control/baseControl/buttonControl.js +0 -142
  8. package/es/control/baseControl/control.d.ts +0 -112
  9. package/es/control/baseControl/control.js +0 -256
  10. package/es/control/baseControl/index.d.ts +0 -4
  11. package/es/control/baseControl/index.js +0 -4
  12. package/es/control/baseControl/popperControl.d.ts +0 -28
  13. package/es/control/baseControl/popperControl.js +0 -92
  14. package/es/control/baseControl/selectControl.d.ts +0 -53
  15. package/es/control/baseControl/selectControl.js +0 -173
  16. package/es/control/exportImage.d.ts +0 -19
  17. package/es/control/exportImage.js +0 -73
  18. package/es/control/fullscreen.d.ts +0 -20
  19. package/es/control/fullscreen.js +0 -88
  20. package/es/control/geoLocate.d.ts +0 -17
  21. package/es/control/geoLocate.js +0 -60
  22. package/es/control/layerSwitch.d.ts +0 -27
  23. package/es/control/layerSwitch.js +0 -155
  24. package/es/control/logo.d.ts +0 -14
  25. package/es/control/logo.js +0 -49
  26. package/es/control/mapTheme.d.ts +0 -11
  27. package/es/control/mapTheme.js +0 -69
  28. package/es/control/mouseLocation.d.ts +0 -16
  29. package/es/control/mouseLocation.js +0 -52
  30. package/es/control/scale.d.ts +0 -35
  31. package/es/control/scale.js +0 -121
  32. package/es/control/swipe.d.ts +0 -66
  33. package/es/control/swipe.js +0 -392
  34. package/es/control/zoom.d.ts +0 -39
  35. package/es/control/zoom.js +0 -100
  36. package/es/css/button.less +0 -77
  37. package/es/css/control.less +0 -82
  38. package/es/css/index.css +0 -653
  39. package/es/css/index.less +0 -13
  40. package/es/css/l7.less +0 -69
  41. package/es/css/layerPopup.less +0 -9
  42. package/es/css/logo.less +0 -21
  43. package/es/css/mouseLocation.less +0 -9
  44. package/es/css/popper.less +0 -74
  45. package/es/css/popup.less +0 -176
  46. package/es/css/scale.less +0 -37
  47. package/es/css/select.less +0 -96
  48. package/es/css/swipe.less +0 -80
  49. package/es/css/variables.less +0 -29
  50. package/es/css/zoom.less +0 -34
  51. package/es/images/layers.png +0 -0
  52. package/es/images/layers.svg +0 -1
  53. package/es/images/logo.png +0 -0
  54. package/es/images/quanping.svg +0 -12
  55. package/es/index.d.ts +0 -19
  56. package/es/index.js +0 -708
  57. package/es/interface.d.ts +0 -29
  58. package/es/interface.js +0 -1
  59. package/es/marker-layer.d.ts +0 -46
  60. package/es/marker-layer.js +0 -509
  61. package/es/marker.d.ts +0 -66
  62. package/es/marker.js +0 -495
  63. package/es/popup/layerPopup.d.ts +0 -105
  64. package/es/popup/layerPopup.js +0 -341
  65. package/es/popup/popup.d.ts +0 -147
  66. package/es/popup/popup.js +0 -587
  67. package/es/utils/anchor.d.ts +0 -22
  68. package/es/utils/anchor.js +0 -31
  69. package/es/utils/eventManager.d.ts +0 -42
  70. package/es/utils/eventManager.js +0 -84
  71. package/es/utils/icon.d.ts +0 -1
  72. package/es/utils/icon.js +0 -12
  73. package/es/utils/popper.d.ts +0 -76
  74. package/es/utils/popper.js +0 -257
  75. package/es/utils/screenfull.d.ts +0 -2
  76. package/es/utils/screenfull.js +0 -106
  77. package/lib/assets/iconfont/iconfont.d.ts +0 -21
  78. package/lib/assets/iconfont/iconfont.js +0 -68
  79. package/lib/constants/index.d.ts +0 -60
  80. package/lib/constants/index.js +0 -66
  81. package/lib/control/baseControl/buttonControl.d.ts +0 -60
  82. package/lib/control/baseControl/buttonControl.js +0 -149
  83. package/lib/control/baseControl/control.d.ts +0 -112
  84. package/lib/control/baseControl/control.js +0 -269
  85. package/lib/control/baseControl/index.d.ts +0 -4
  86. package/lib/control/baseControl/index.js +0 -39
  87. package/lib/control/baseControl/popperControl.d.ts +0 -28
  88. package/lib/control/baseControl/popperControl.js +0 -99
  89. package/lib/control/baseControl/selectControl.d.ts +0 -53
  90. package/lib/control/baseControl/selectControl.js +0 -180
  91. package/lib/control/exportImage.d.ts +0 -19
  92. package/lib/control/exportImage.js +0 -80
  93. package/lib/control/fullscreen.d.ts +0 -20
  94. package/lib/control/fullscreen.js +0 -95
  95. package/lib/control/geoLocate.d.ts +0 -17
  96. package/lib/control/geoLocate.js +0 -67
  97. package/lib/control/layerSwitch.d.ts +0 -27
  98. package/lib/control/layerSwitch.js +0 -162
  99. package/lib/control/logo.d.ts +0 -14
  100. package/lib/control/logo.js +0 -55
  101. package/lib/control/mapTheme.d.ts +0 -11
  102. package/lib/control/mapTheme.js +0 -76
  103. package/lib/control/mouseLocation.d.ts +0 -16
  104. package/lib/control/mouseLocation.js +0 -59
  105. package/lib/control/scale.d.ts +0 -35
  106. package/lib/control/scale.js +0 -128
  107. package/lib/control/swipe.d.ts +0 -66
  108. package/lib/control/swipe.js +0 -399
  109. package/lib/control/zoom.d.ts +0 -39
  110. package/lib/control/zoom.js +0 -107
  111. package/lib/css/button.less +0 -77
  112. package/lib/css/control.less +0 -82
  113. package/lib/css/index.css +0 -653
  114. package/lib/css/index.less +0 -13
  115. package/lib/css/l7.less +0 -69
  116. package/lib/css/layerPopup.less +0 -9
  117. package/lib/css/logo.less +0 -21
  118. package/lib/css/mouseLocation.less +0 -9
  119. package/lib/css/popper.less +0 -74
  120. package/lib/css/popup.less +0 -176
  121. package/lib/css/scale.less +0 -37
  122. package/lib/css/select.less +0 -96
  123. package/lib/css/swipe.less +0 -80
  124. package/lib/css/variables.less +0 -29
  125. package/lib/css/zoom.less +0 -34
  126. package/lib/images/layers.png +0 -0
  127. package/lib/images/layers.svg +0 -1
  128. package/lib/images/logo.png +0 -0
  129. package/lib/images/quanping.svg +0 -12
  130. package/lib/index.d.ts +0 -19
  131. package/lib/index.js +0 -835
  132. package/lib/interface.d.ts +0 -29
  133. package/lib/interface.js +0 -5
  134. package/lib/marker-layer.d.ts +0 -46
  135. package/lib/marker-layer.js +0 -518
  136. package/lib/marker.d.ts +0 -66
  137. package/lib/marker.js +0 -502
  138. package/lib/popup/layerPopup.d.ts +0 -105
  139. package/lib/popup/layerPopup.js +0 -348
  140. package/lib/popup/popup.d.ts +0 -147
  141. package/lib/popup/popup.js +0 -594
  142. package/lib/utils/anchor.d.ts +0 -22
  143. package/lib/utils/anchor.js +0 -38
  144. package/lib/utils/eventManager.d.ts +0 -42
  145. package/lib/utils/eventManager.js +0 -92
  146. package/lib/utils/icon.d.ts +0 -1
  147. package/lib/utils/icon.js +0 -19
  148. package/lib/utils/popper.d.ts +0 -76
  149. package/lib/utils/popper.js +0 -264
  150. package/lib/utils/screenfull.d.ts +0 -2
  151. package/lib/utils/screenfull.js +0 -112
package/lib/index.js DELETED
@@ -1,835 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- var _exportNames = {
8
- Marker: true,
9
- MarkerLayer: true,
10
- ExportImage: true,
11
- Fullscreen: true,
12
- GeoLocate: true,
13
- LayerSwitch: true,
14
- Logo: true,
15
- MapTheme: true,
16
- MouseLocation: true,
17
- Scale: true,
18
- Swipe: true,
19
- Zoom: true,
20
- LayerPopup: true,
21
- Popup: true
22
- };
23
- Object.defineProperty(exports, "ExportImage", {
24
- enumerable: true,
25
- get: function () {
26
- return _exportImage.ExportImage;
27
- }
28
- });
29
- Object.defineProperty(exports, "Fullscreen", {
30
- enumerable: true,
31
- get: function () {
32
- return _fullscreen.Fullscreen;
33
- }
34
- });
35
- Object.defineProperty(exports, "GeoLocate", {
36
- enumerable: true,
37
- get: function () {
38
- return _geoLocate.GeoLocate;
39
- }
40
- });
41
- Object.defineProperty(exports, "LayerPopup", {
42
- enumerable: true,
43
- get: function () {
44
- return _layerPopup.LayerPopup;
45
- }
46
- });
47
- Object.defineProperty(exports, "LayerSwitch", {
48
- enumerable: true,
49
- get: function () {
50
- return _layerSwitch.LayerSwitch;
51
- }
52
- });
53
- Object.defineProperty(exports, "Logo", {
54
- enumerable: true,
55
- get: function () {
56
- return _logo.Logo;
57
- }
58
- });
59
- Object.defineProperty(exports, "MapTheme", {
60
- enumerable: true,
61
- get: function () {
62
- return _mapTheme.MapTheme;
63
- }
64
- });
65
- Object.defineProperty(exports, "Marker", {
66
- enumerable: true,
67
- get: function () {
68
- return _marker.default;
69
- }
70
- });
71
- Object.defineProperty(exports, "MarkerLayer", {
72
- enumerable: true,
73
- get: function () {
74
- return _markerLayer.default;
75
- }
76
- });
77
- Object.defineProperty(exports, "MouseLocation", {
78
- enumerable: true,
79
- get: function () {
80
- return _mouseLocation.MouseLocation;
81
- }
82
- });
83
- Object.defineProperty(exports, "Popup", {
84
- enumerable: true,
85
- get: function () {
86
- return _popup.Popup;
87
- }
88
- });
89
- Object.defineProperty(exports, "Scale", {
90
- enumerable: true,
91
- get: function () {
92
- return _scale.Scale;
93
- }
94
- });
95
- Object.defineProperty(exports, "Swipe", {
96
- enumerable: true,
97
- get: function () {
98
- return _swipe.Swipe;
99
- }
100
- });
101
- Object.defineProperty(exports, "Zoom", {
102
- enumerable: true,
103
- get: function () {
104
- return _zoom.Zoom;
105
- }
106
- });
107
- var _marker = _interopRequireDefault(require("./marker"));
108
- var _markerLayer = _interopRequireDefault(require("./marker-layer"));
109
- require("./assets/iconfont/iconfont");
110
- var _baseControl = require("./control/baseControl");
111
- Object.keys(_baseControl).forEach(function (key) {
112
- if (key === "default" || key === "__esModule") return;
113
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
114
- if (key in exports && exports[key] === _baseControl[key]) return;
115
- Object.defineProperty(exports, key, {
116
- enumerable: true,
117
- get: function () {
118
- return _baseControl[key];
119
- }
120
- });
121
- });
122
- var _exportImage = require("./control/exportImage");
123
- var _fullscreen = require("./control/fullscreen");
124
- var _geoLocate = require("./control/geoLocate");
125
- var _layerSwitch = require("./control/layerSwitch");
126
- var _logo = require("./control/logo");
127
- var _mapTheme = require("./control/mapTheme");
128
- var _mouseLocation = require("./control/mouseLocation");
129
- var _scale = require("./control/scale");
130
- var _swipe = require("./control/swipe");
131
- var _zoom = require("./control/zoom");
132
- var _interface = require("./interface");
133
- Object.keys(_interface).forEach(function (key) {
134
- if (key === "default" || key === "__esModule") return;
135
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
136
- if (key in exports && exports[key] === _interface[key]) return;
137
- Object.defineProperty(exports, key, {
138
- enumerable: true,
139
- get: function () {
140
- return _interface[key];
141
- }
142
- });
143
- });
144
- var _layerPopup = require("./popup/layerPopup");
145
- var _popup = require("./popup/popup");
146
- // 引入样式(预编译的 CSS,构建时由 transform-import-css-l7 内联到 JS,用户无需安装 less)
147
- function loadStyles(css, doc) {
148
- var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
149
- var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
150
- if (isMiniAli || isWeChatMiniProgram) {
151
- return;
152
- }
153
- if (!doc) doc = document;
154
- if (!doc) {
155
- return;
156
- }
157
- var head = doc.head || doc.getElementsByTagName('head')[0];
158
- if (!head) {
159
- head = doc.createElement('head');
160
- var body = doc.body || doc.getElementsByTagName('body')[0];
161
- if (body) {
162
- body.parentNode.insertBefore(head, body);
163
- } else {
164
- doc.documentElement.appendChild(head);
165
- }
166
- }
167
- var style = doc.createElement('style');
168
- style.type = 'text/css';
169
- if (style.styleSheet) {
170
- style.styleSheet.cssText = css;
171
- } else {
172
- style.appendChild(doc.createTextNode(css));
173
- }
174
- head.appendChild(style);
175
- return style;
176
- }
177
- loadStyles(`.l7-marker-container {
178
- position: absolute;
179
- width: 100%;
180
- height: 100%;
181
- overflow: hidden;
182
- }
183
- .l7-marker {
184
- position: absolute !important;
185
- top: 0;
186
- left: 0;
187
- z-index: 5;
188
- cursor: pointer;
189
- }
190
- .l7-marker-cluster {
191
- width: 40px;
192
- height: 40px;
193
- background-color: rgba(181, 226, 140, 0.6);
194
- background-clip: padding-box;
195
- border-radius: 20px;
196
- }
197
- .l7-marker-cluster div {
198
- width: 30px;
199
- height: 30px;
200
- margin-top: 5px;
201
- margin-left: 5px;
202
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
203
- text-align: center;
204
- background-color: rgba(110, 204, 57, 0.6);
205
- border-radius: 15px;
206
- }
207
- .l7-marker-cluster span {
208
- line-height: 30px;
209
- }
210
- .l7-touch .l7-control-attribution,
211
- .l7-touch .l7-control-layers,
212
- .l7-touch .l7-bar {
213
- box-shadow: none;
214
- }
215
- .l7-touch .l7-control-layers,
216
- .l7-touch .l7-bar {
217
- background-clip: padding-box;
218
- border: 2px solid rgba(0, 0, 0, 0.2);
219
- }
220
- .mapboxgl-ctrl-logo,
221
- .amap-logo {
222
- display: none !important;
223
- }
224
- .l7-select-box {
225
- border: 3px dashed gray;
226
- border-radius: 2px;
227
- position: absolute;
228
- z-index: 999;
229
- box-sizing: border-box;
230
- }
231
- .l7-control-container {
232
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
233
- }
234
- .l7-control-container .l7-control {
235
- position: relative;
236
- z-index: 999;
237
- float: left;
238
- clear: both;
239
- color: #595959;
240
- font-size: 12px;
241
- pointer-events: visiblepainted;
242
- /* IE 9-10 doesn't have auto */
243
- pointer-events: auto;
244
- }
245
- .l7-control-container .l7-control.l7-control--hide {
246
- display: none;
247
- }
248
- .l7-control-container .l7-top {
249
- top: 0;
250
- display: flex;
251
- position: absolute;
252
- z-index: 999;
253
- pointer-events: none;
254
- }
255
- .l7-control-container .l7-top .l7-control:not(.l7-control--hide) {
256
- margin-top: 8px;
257
- }
258
- .l7-control-container .l7-right {
259
- right: 0;
260
- display: flex;
261
- position: absolute;
262
- z-index: 999;
263
- pointer-events: none;
264
- }
265
- .l7-control-container .l7-right .l7-control:not(.l7-control--hide) {
266
- margin-right: 8px;
267
- }
268
- .l7-control-container .l7-bottom {
269
- bottom: 0;
270
- display: flex;
271
- position: absolute;
272
- z-index: 999;
273
- pointer-events: none;
274
- }
275
- .l7-control-container .l7-bottom .l7-control:not(.l7-control--hide) {
276
- margin-bottom: 8px;
277
- }
278
- .l7-control-container .l7-left {
279
- left: 0;
280
- display: flex;
281
- position: absolute;
282
- z-index: 999;
283
- pointer-events: none;
284
- }
285
- .l7-control-container .l7-left .l7-control:not(.l7-control--hide) {
286
- margin-left: 8px;
287
- }
288
- .l7-control-container .l7-center {
289
- position: absolute;
290
- display: flex;
291
- justify-content: center;
292
- }
293
- .l7-control-container .l7-center.l7-top,
294
- .l7-control-container .l7-center.l7-bottom {
295
- width: 100%;
296
- }
297
- .l7-control-container .l7-center.l7-left,
298
- .l7-control-container .l7-center.l7-right {
299
- height: 100%;
300
- }
301
- .l7-control-container .l7-center .l7-control {
302
- margin-right: 8px;
303
- margin-bottom: 8px;
304
- }
305
- .l7-control-container .l7-row {
306
- flex-direction: row;
307
- }
308
- .l7-control-container .l7-row.l7-top {
309
- align-items: flex-start;
310
- }
311
- .l7-control-container .l7-row.l7-bottom {
312
- align-items: flex-end;
313
- }
314
- .l7-control-container .l7-column {
315
- flex-direction: column;
316
- }
317
- .l7-control-container .l7-column.l7-left {
318
- align-items: flex-start;
319
- }
320
- .l7-control-container .l7-column.l7-right {
321
- align-items: flex-end;
322
- }
323
- .l7-button-control {
324
- min-width: 28px;
325
- height: 28px;
326
- background-color: #fff;
327
- border-width: 0;
328
- border-radius: 2px;
329
- outline: 0;
330
- cursor: pointer;
331
- transition: all 0.2s;
332
- display: flex;
333
- justify-content: center;
334
- align-items: center;
335
- padding: 0 6px;
336
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
337
- line-height: 16px;
338
- }
339
- .l7-button-control .l7-iconfont {
340
- fill: #595959;
341
- color: #595959;
342
- width: 16px;
343
- height: 16px;
344
- }
345
- .l7-button-control.l7-button-control--row {
346
- padding: 0 16px 0 13px;
347
- }
348
- .l7-button-control.l7-button-control--row * + .l7-button-control__text {
349
- margin-left: 8px;
350
- }
351
- .l7-button-control.l7-button-control--column {
352
- height: 44px;
353
- flex-direction: column;
354
- }
355
- .l7-button-control.l7-button-control--column .l7-iconfont {
356
- margin-top: 3px;
357
- }
358
- .l7-button-control.l7-button-control--column .l7-button-control__text {
359
- margin-top: 3px;
360
- font-size: 10px;
361
- -webkit-transform: scale(0.83333);
362
- transform: scale(0.83333);
363
- }
364
- .l7-button-control:not(:disabled):hover {
365
- background-color: #f3f3f3;
366
- }
367
- .l7-button-control:not(:disabled):active {
368
- background-color: #f3f3f3;
369
- }
370
- .l7-button-control:disabled {
371
- background-color: #fafafa;
372
- color: #bdbdbd;
373
- cursor: not-allowed;
374
- }
375
- .l7-button-control:disabled .l7-iconfont {
376
- fill: #bdbdbd;
377
- color: #bdbdbd;
378
- }
379
- .l7-button-control:disabled:hover {
380
- background-color: #fafafa;
381
- }
382
- .l7-button-control:disabled:active {
383
- background-color: #fafafa;
384
- }
385
- .l7-popper {
386
- position: absolute;
387
- display: flex;
388
- justify-content: center;
389
- align-items: center;
390
- z-index: 5;
391
- color: #595959;
392
- }
393
- .l7-popper.l7-popper-hide {
394
- display: none;
395
- }
396
- .l7-popper .l7-popper-content {
397
- min-height: 28px;
398
- background: #fff;
399
- border-radius: 2px;
400
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
401
- }
402
- .l7-popper .l7-popper-arrow {
403
- width: 0;
404
- height: 0;
405
- border-width: 4px;
406
- border-style: solid;
407
- border-color: transparent;
408
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
409
- }
410
- .l7-popper.l7-popper-left {
411
- flex-direction: row;
412
- }
413
- .l7-popper.l7-popper-left .l7-popper-arrow {
414
- border-left-color: #fff;
415
- margin: 10px 0;
416
- }
417
- .l7-popper.l7-popper-right {
418
- flex-direction: row-reverse;
419
- }
420
- .l7-popper.l7-popper-right .l7-popper-arrow {
421
- border-right-color: #fff;
422
- margin: 10px 0;
423
- }
424
- .l7-popper.l7-popper-top {
425
- flex-direction: column;
426
- }
427
- .l7-popper.l7-popper-top .l7-popper-arrow {
428
- border-top-color: #fff;
429
- margin: 0 10px;
430
- }
431
- .l7-popper.l7-popper-bottom {
432
- flex-direction: column-reverse;
433
- }
434
- .l7-popper.l7-popper-bottom .l7-popper-arrow {
435
- border-bottom-color: #fff;
436
- margin: 0 10px;
437
- }
438
- .l7-popper.l7-popper-start {
439
- align-items: flex-start;
440
- }
441
- .l7-popper.l7-popper-end {
442
- align-items: flex-end;
443
- }
444
- .l7-select-control--normal {
445
- padding: 4px 0;
446
- }
447
- .l7-select-control--normal .l7-select-control-item {
448
- display: flex;
449
- align-items: center;
450
- height: 24px;
451
- padding: 0 16px;
452
- font-size: 12px;
453
- line-height: 24px;
454
- }
455
- .l7-select-control--normal .l7-select-control-item > * + * {
456
- margin-left: 6px;
457
- }
458
- .l7-select-control--normal .l7-select-control-item input[type='checkbox'] {
459
- width: 14px;
460
- height: 14px;
461
- }
462
- .l7-select-control--normal .l7-select-control-item:hover {
463
- background-color: #f3f3f3;
464
- }
465
- .l7-select-control--image {
466
- display: flex;
467
- flex-wrap: wrap;
468
- align-items: flex-start;
469
- box-sizing: content-box;
470
- max-width: 460px;
471
- max-height: 400px;
472
- margin: 12px 0 0 12px;
473
- overflow: hidden auto;
474
- }
475
- .l7-select-control--image .l7-select-control-item {
476
- position: relative;
477
- display: flex;
478
- flex: 0 0 calc((100% - (12px + 9px) * 2) / 3);
479
- flex-direction: column;
480
- justify-content: center;
481
- box-sizing: content-box;
482
- margin-right: 12px;
483
- margin-bottom: 12px;
484
- overflow: hidden;
485
- font-size: 12px;
486
- border: 1px solid #fff;
487
- border-radius: 2px;
488
- }
489
- .l7-select-control--image .l7-select-control-item img {
490
- width: 100%;
491
- height: 80px;
492
- }
493
- .l7-select-control--image .l7-select-control-item input[type='checkbox'] {
494
- position: absolute;
495
- top: 0;
496
- right: 0;
497
- }
498
- .l7-select-control--image .l7-select-control-item .l7-select-control-item-row {
499
- display: flex;
500
- align-items: center;
501
- justify-content: center;
502
- line-height: 26px;
503
- }
504
- .l7-select-control--image .l7-select-control-item .l7-select-control-item-row > * + * {
505
- margin-left: 8px;
506
- }
507
- .l7-select-control--image .l7-select-control-item.l7-select-control-item-active {
508
- border-color: #0370fe;
509
- }
510
- .l7-select-control-item {
511
- cursor: pointer;
512
- }
513
- .l7-select-control-item input[type='checkbox'] {
514
- margin: 0;
515
- cursor: pointer;
516
- }
517
- .l7-select-control--multiple .l7-select-control-item:hover {
518
- background-color: transparent;
519
- }
520
- .l7-control-logo {
521
- width: 89px;
522
- height: 16px;
523
- -webkit-user-select: none;
524
- -moz-user-select: none;
525
- -ms-user-select: none;
526
- user-select: none;
527
- }
528
- .l7-control-logo img {
529
- height: 100%;
530
- width: 100%;
531
- }
532
- .l7-control-logo .l7-control-logo-link {
533
- display: block;
534
- cursor: pointer;
535
- }
536
- .l7-control-logo .l7-control-logo-link img {
537
- cursor: pointer;
538
- }
539
- .l7-control-mouse-location {
540
- background-color: #fff;
541
- border-radius: 2px;
542
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
543
- padding: 2px 4px;
544
- min-width: 130px;
545
- }
546
- .l7-control-zoom {
547
- overflow: hidden;
548
- border-radius: 2px;
549
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
550
- }
551
- .l7-control-zoom .l7-button-control {
552
- font-size: 16px;
553
- border-bottom: 1px solid #f0f0f0;
554
- border-radius: 0;
555
- box-shadow: 0 0 0;
556
- }
557
- .l7-control-zoom .l7-button-control .l7-iconfont {
558
- width: 14px;
559
- height: 14px;
560
- }
561
- .l7-control-zoom .l7-button-control:last-child {
562
- border-bottom: 0;
563
- }
564
- .l7-control-zoom .l7-control-zoom__number {
565
- color: #595959;
566
- padding: 0;
567
- }
568
- .l7-control-zoom .l7-control-zoom__number:hover {
569
- background-color: #fff;
570
- }
571
- .l7-control-scale {
572
- display: flex;
573
- flex-direction: column;
574
- }
575
- .l7-control-scale .l7-control-scale-line {
576
- box-sizing: border-box;
577
- padding: 2px 5px 1px;
578
- overflow: hidden;
579
- color: #595959;
580
- font-size: 10px;
581
- line-height: 1.1;
582
- white-space: nowrap;
583
- background: #fff;
584
- border: 2px solid #000;
585
- border-top: 0;
586
- transition: width 0.1s;
587
- }
588
- .l7-control-scale .l7-control-scale-line + .l7-control-scale .l7-control-scale-line {
589
- margin-top: -2px;
590
- border-top: 2px solid #777;
591
- border-bottom: none;
592
- }
593
- .l7-right .l7-control-scale {
594
- display: flex;
595
- align-items: flex-end;
596
- }
597
- .l7-right .l7-control-scale .l7-control-scale-line {
598
- text-align: right;
599
- }
600
- .l7-popup {
601
- position: absolute;
602
- top: 0;
603
- left: 0;
604
- z-index: 5;
605
- display: flex;
606
- will-change: transform;
607
- pointer-events: none;
608
- }
609
- .l7-popup.l7-popup-hide {
610
- display: none;
611
- }
612
- .l7-popup .l7-popup-content {
613
- position: relative;
614
- padding: 16px;
615
- font-size: 14px;
616
- background: #fff;
617
- border-radius: 3px;
618
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
619
- }
620
- .l7-popup .l7-popup-content .l7-popup-content__title {
621
- margin-bottom: 8px;
622
- font-weight: bold;
623
- }
624
- .l7-popup .l7-popup-content .l7-popup-close-button,
625
- .l7-popup .l7-popup-content .l7-popup-content__title,
626
- .l7-popup .l7-popup-content .l7-popup-content__panel {
627
- white-space: normal;
628
- -webkit-user-select: text;
629
- -moz-user-select: text;
630
- -ms-user-select: text;
631
- user-select: text;
632
- pointer-events: initial;
633
- }
634
- .l7-popup .l7-popup-content .l7-popup-close-button {
635
- position: absolute;
636
- top: 0;
637
- right: 0;
638
- width: 18px;
639
- height: 18px;
640
- padding: 0;
641
- font-size: 14px;
642
- line-height: 18px;
643
- text-align: center;
644
- background-color: transparent;
645
- border: 0;
646
- border-radius: 0 3px 0 0;
647
- cursor: pointer;
648
- }
649
- .l7-popup .l7-popup-tip {
650
- position: relative;
651
- z-index: 1;
652
- width: 0;
653
- height: 0;
654
- border: 10px solid transparent;
655
- }
656
- .l7-popup.l7-popup-anchor-bottom,
657
- .l7-popup.l7-popup-anchor-bottom-left,
658
- .l7-popup.l7-popup-anchor-bottom-right {
659
- flex-direction: column-reverse;
660
- }
661
- .l7-popup.l7-popup-anchor-bottom .l7-popup-tip,
662
- .l7-popup.l7-popup-anchor-bottom-left .l7-popup-tip,
663
- .l7-popup.l7-popup-anchor-bottom-right .l7-popup-tip {
664
- bottom: 1px;
665
- }
666
- .l7-popup.l7-popup-anchor-top,
667
- .l7-popup.l7-popup-anchor-top-left,
668
- .l7-popup.l7-popup-anchor-top-right {
669
- flex-direction: column;
670
- }
671
- .l7-popup.l7-popup-anchor-top .l7-popup-tip,
672
- .l7-popup.l7-popup-anchor-top-left .l7-popup-tip,
673
- .l7-popup.l7-popup-anchor-top-right .l7-popup-tip {
674
- top: 1px;
675
- }
676
- .l7-popup.l7-popup-anchor-left {
677
- flex-direction: row;
678
- }
679
- .l7-popup.l7-popup-anchor-right {
680
- flex-direction: row-reverse;
681
- }
682
- .l7-popup-anchor-top .l7-popup-tip {
683
- position: relative;
684
- align-self: center;
685
- border-top: none;
686
- border-bottom-color: #fff;
687
- }
688
- .l7-popup-anchor-top-left .l7-popup-tip {
689
- align-self: flex-start;
690
- border-top: none;
691
- border-bottom-color: #fff;
692
- border-left: none;
693
- }
694
- .l7-popup-anchor-top-right .l7-popup-tip {
695
- align-self: flex-end;
696
- border-top: none;
697
- border-right: none;
698
- border-bottom-color: #fff;
699
- }
700
- .l7-popup-anchor-bottom .l7-popup-tip {
701
- align-self: center;
702
- border-top-color: #fff;
703
- border-bottom: none;
704
- }
705
- .l7-popup-anchor-bottom-left .l7-popup-tip {
706
- align-self: flex-start;
707
- border-top-color: #fff;
708
- border-bottom: none;
709
- border-left: none;
710
- }
711
- .l7-popup-anchor-bottom-right .l7-popup-tip {
712
- align-self: flex-end;
713
- border-top-color: #fff;
714
- border-right: none;
715
- border-bottom: none;
716
- }
717
- .l7-popup-anchor-left .l7-popup-tip {
718
- align-self: center;
719
- border-right-color: #fff;
720
- border-left: none;
721
- }
722
- .l7-popup-anchor-right .l7-popup-tip {
723
- right: 1px;
724
- align-self: center;
725
- border-right: none;
726
- border-left-color: #fff;
727
- }
728
- .l7-popup-anchor-top-left .l7-popup-content {
729
- border-top-left-radius: 0;
730
- }
731
- .l7-popup-anchor-top-right .l7-popup-content {
732
- border-top-right-radius: 0;
733
- }
734
- .l7-popup-anchor-bottom-left .l7-popup-content {
735
- border-bottom-left-radius: 0;
736
- }
737
- .l7-popup-anchor-bottom-right .l7-popup-content {
738
- border-bottom-right-radius: 0;
739
- }
740
- .l7-popup-track-pointer {
741
- display: none;
742
- }
743
- .l7-popup-track-pointer * {
744
- -webkit-user-select: none;
745
- -moz-user-select: none;
746
- -ms-user-select: none;
747
- user-select: none;
748
- pointer-events: none;
749
- }
750
- .l7-map:hover .l7-popup-track-pointer {
751
- display: flex;
752
- }
753
- .l7-map:active .l7-popup-track-pointer {
754
- display: none;
755
- }
756
- .l7-layer-popup__row {
757
- font-size: 12px;
758
- }
759
- .l7-layer-popup__row + .l7-layer-popup__row {
760
- margin-top: 4px;
761
- }
762
- .l7-control-swipe {
763
- position: absolute;
764
- top: 50%;
765
- left: 50%;
766
- z-index: 6;
767
- -webkit-transform: translate(-50%, -50%);
768
- transform: translate(-50%, -50%);
769
- touch-action: none;
770
- }
771
- .l7-control-swipe_hide {
772
- display: none;
773
- }
774
- .l7-control-swipe::before {
775
- position: absolute;
776
- top: -5000px;
777
- bottom: -5000px;
778
- left: 50%;
779
- z-index: -1;
780
- width: 4px;
781
- background: #fff;
782
- -webkit-transform: translate(-2px, 0);
783
- transform: translate(-2px, 0);
784
- content: '';
785
- }
786
- .l7-control-swipe.horizontal::before {
787
- inset: 50% -5000px auto;
788
- width: auto;
789
- height: 4px;
790
- }
791
- .l7-control-swipe__button {
792
- display: block;
793
- width: 28px;
794
- height: 28px;
795
- margin: 0;
796
- padding: 0;
797
- color: #595959;
798
- font-weight: bold;
799
- font-size: inherit;
800
- text-align: center;
801
- text-decoration: none;
802
- background-color: #fff;
803
- border: none;
804
- border-radius: 2px;
805
- outline: none;
806
- }
807
- .l7-control-swipe,
808
- .l7-control-swipe__button {
809
- cursor: ew-resize;
810
- }
811
- .l7-control-swipe.horizontal,
812
- .l7-control-swipe.horizontal button {
813
- cursor: ns-resize;
814
- }
815
- .l7-control-swipe::after,
816
- .l7-control-swipe__button::before,
817
- .l7-control-swipe__button::after {
818
- position: absolute;
819
- top: 25%;
820
- bottom: 25%;
821
- left: 50%;
822
- width: 2px;
823
- background: currentcolor;
824
- -webkit-transform: translate(-1px, 0);
825
- transform: translate(-1px, 0);
826
- content: '';
827
- }
828
- .l7-control-swipe__button::after {
829
- -webkit-transform: translateX(4px);
830
- transform: translateX(4px);
831
- }
832
- .l7-control-swipe__button::before {
833
- -webkit-transform: translateX(-6px);
834
- transform: translateX(-6px);
835
- }`);