@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.
- package/package.json +5 -5
- package/es/assets/iconfont/iconfont.d.ts +0 -21
- package/es/assets/iconfont/iconfont.js +0 -61
- package/es/constants/index.d.ts +0 -60
- package/es/constants/index.js +0 -60
- package/es/control/baseControl/buttonControl.d.ts +0 -60
- package/es/control/baseControl/buttonControl.js +0 -142
- package/es/control/baseControl/control.d.ts +0 -112
- package/es/control/baseControl/control.js +0 -256
- package/es/control/baseControl/index.d.ts +0 -4
- package/es/control/baseControl/index.js +0 -4
- package/es/control/baseControl/popperControl.d.ts +0 -28
- package/es/control/baseControl/popperControl.js +0 -92
- package/es/control/baseControl/selectControl.d.ts +0 -53
- package/es/control/baseControl/selectControl.js +0 -173
- package/es/control/exportImage.d.ts +0 -19
- package/es/control/exportImage.js +0 -73
- package/es/control/fullscreen.d.ts +0 -20
- package/es/control/fullscreen.js +0 -88
- package/es/control/geoLocate.d.ts +0 -17
- package/es/control/geoLocate.js +0 -60
- package/es/control/layerSwitch.d.ts +0 -27
- package/es/control/layerSwitch.js +0 -155
- package/es/control/logo.d.ts +0 -14
- package/es/control/logo.js +0 -49
- package/es/control/mapTheme.d.ts +0 -11
- package/es/control/mapTheme.js +0 -69
- package/es/control/mouseLocation.d.ts +0 -16
- package/es/control/mouseLocation.js +0 -52
- package/es/control/scale.d.ts +0 -35
- package/es/control/scale.js +0 -121
- package/es/control/swipe.d.ts +0 -66
- package/es/control/swipe.js +0 -392
- package/es/control/zoom.d.ts +0 -39
- package/es/control/zoom.js +0 -100
- package/es/css/button.less +0 -77
- package/es/css/control.less +0 -82
- package/es/css/index.css +0 -653
- package/es/css/index.less +0 -13
- package/es/css/l7.less +0 -69
- package/es/css/layerPopup.less +0 -9
- package/es/css/logo.less +0 -21
- package/es/css/mouseLocation.less +0 -9
- package/es/css/popper.less +0 -74
- package/es/css/popup.less +0 -176
- package/es/css/scale.less +0 -37
- package/es/css/select.less +0 -96
- package/es/css/swipe.less +0 -80
- package/es/css/variables.less +0 -29
- package/es/css/zoom.less +0 -34
- package/es/images/layers.png +0 -0
- package/es/images/layers.svg +0 -1
- package/es/images/logo.png +0 -0
- package/es/images/quanping.svg +0 -12
- package/es/index.d.ts +0 -19
- package/es/index.js +0 -708
- package/es/interface.d.ts +0 -29
- package/es/interface.js +0 -1
- package/es/marker-layer.d.ts +0 -46
- package/es/marker-layer.js +0 -509
- package/es/marker.d.ts +0 -66
- package/es/marker.js +0 -495
- package/es/popup/layerPopup.d.ts +0 -105
- package/es/popup/layerPopup.js +0 -341
- package/es/popup/popup.d.ts +0 -147
- package/es/popup/popup.js +0 -587
- package/es/utils/anchor.d.ts +0 -22
- package/es/utils/anchor.js +0 -31
- package/es/utils/eventManager.d.ts +0 -42
- package/es/utils/eventManager.js +0 -84
- package/es/utils/icon.d.ts +0 -1
- package/es/utils/icon.js +0 -12
- package/es/utils/popper.d.ts +0 -76
- package/es/utils/popper.js +0 -257
- package/es/utils/screenfull.d.ts +0 -2
- package/es/utils/screenfull.js +0 -106
- package/lib/assets/iconfont/iconfont.d.ts +0 -21
- package/lib/assets/iconfont/iconfont.js +0 -68
- package/lib/constants/index.d.ts +0 -60
- package/lib/constants/index.js +0 -66
- package/lib/control/baseControl/buttonControl.d.ts +0 -60
- package/lib/control/baseControl/buttonControl.js +0 -149
- package/lib/control/baseControl/control.d.ts +0 -112
- package/lib/control/baseControl/control.js +0 -269
- package/lib/control/baseControl/index.d.ts +0 -4
- package/lib/control/baseControl/index.js +0 -39
- package/lib/control/baseControl/popperControl.d.ts +0 -28
- package/lib/control/baseControl/popperControl.js +0 -99
- package/lib/control/baseControl/selectControl.d.ts +0 -53
- package/lib/control/baseControl/selectControl.js +0 -180
- package/lib/control/exportImage.d.ts +0 -19
- package/lib/control/exportImage.js +0 -80
- package/lib/control/fullscreen.d.ts +0 -20
- package/lib/control/fullscreen.js +0 -95
- package/lib/control/geoLocate.d.ts +0 -17
- package/lib/control/geoLocate.js +0 -67
- package/lib/control/layerSwitch.d.ts +0 -27
- package/lib/control/layerSwitch.js +0 -162
- package/lib/control/logo.d.ts +0 -14
- package/lib/control/logo.js +0 -55
- package/lib/control/mapTheme.d.ts +0 -11
- package/lib/control/mapTheme.js +0 -76
- package/lib/control/mouseLocation.d.ts +0 -16
- package/lib/control/mouseLocation.js +0 -59
- package/lib/control/scale.d.ts +0 -35
- package/lib/control/scale.js +0 -128
- package/lib/control/swipe.d.ts +0 -66
- package/lib/control/swipe.js +0 -399
- package/lib/control/zoom.d.ts +0 -39
- package/lib/control/zoom.js +0 -107
- package/lib/css/button.less +0 -77
- package/lib/css/control.less +0 -82
- package/lib/css/index.css +0 -653
- package/lib/css/index.less +0 -13
- package/lib/css/l7.less +0 -69
- package/lib/css/layerPopup.less +0 -9
- package/lib/css/logo.less +0 -21
- package/lib/css/mouseLocation.less +0 -9
- package/lib/css/popper.less +0 -74
- package/lib/css/popup.less +0 -176
- package/lib/css/scale.less +0 -37
- package/lib/css/select.less +0 -96
- package/lib/css/swipe.less +0 -80
- package/lib/css/variables.less +0 -29
- package/lib/css/zoom.less +0 -34
- package/lib/images/layers.png +0 -0
- package/lib/images/layers.svg +0 -1
- package/lib/images/logo.png +0 -0
- package/lib/images/quanping.svg +0 -12
- package/lib/index.d.ts +0 -19
- package/lib/index.js +0 -835
- package/lib/interface.d.ts +0 -29
- package/lib/interface.js +0 -5
- package/lib/marker-layer.d.ts +0 -46
- package/lib/marker-layer.js +0 -518
- package/lib/marker.d.ts +0 -66
- package/lib/marker.js +0 -502
- package/lib/popup/layerPopup.d.ts +0 -105
- package/lib/popup/layerPopup.js +0 -348
- package/lib/popup/popup.d.ts +0 -147
- package/lib/popup/popup.js +0 -594
- package/lib/utils/anchor.d.ts +0 -22
- package/lib/utils/anchor.js +0 -38
- package/lib/utils/eventManager.d.ts +0 -42
- package/lib/utils/eventManager.js +0 -92
- package/lib/utils/icon.d.ts +0 -1
- package/lib/utils/icon.js +0 -19
- package/lib/utils/popper.d.ts +0 -76
- package/lib/utils/popper.js +0 -264
- package/lib/utils/screenfull.d.ts +0 -2
- package/lib/utils/screenfull.js +0 -112
package/es/css/layerPopup.less
DELETED
package/es/css/logo.less
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-control-logo {
|
|
4
|
-
width: 89px;
|
|
5
|
-
height: 16px;
|
|
6
|
-
user-select: none;
|
|
7
|
-
|
|
8
|
-
img {
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.l7-control-logo-link {
|
|
14
|
-
display: block;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
img {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
package/es/css/popper.less
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-popper {
|
|
4
|
-
position: absolute;
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
z-index: 5;
|
|
9
|
-
color: @l7-control-font-color;
|
|
10
|
-
|
|
11
|
-
&.l7-popper-hide {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.l7-popper-content {
|
|
16
|
-
min-height: @l7-btn-control-size;
|
|
17
|
-
background: @l7-popper-control-bg-color;
|
|
18
|
-
border-radius: @l7-btn-control-border-radius;
|
|
19
|
-
box-shadow: @l7-control-shadow;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.l7-popper-arrow {
|
|
23
|
-
width: 0;
|
|
24
|
-
height: 0;
|
|
25
|
-
border-width: @l7-popper-control-arrow-size;
|
|
26
|
-
border-style: solid;
|
|
27
|
-
border-color: transparent;
|
|
28
|
-
box-shadow: @l7-control-shadow;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.l7-popper-left {
|
|
32
|
-
flex-direction: row;
|
|
33
|
-
|
|
34
|
-
.l7-popper-arrow {
|
|
35
|
-
border-left-color: @l7-popper-control-bg-color;
|
|
36
|
-
margin: (@l7-btn-control-size / 2 - @l7-popper-control-arrow-size) 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.l7-popper-right {
|
|
41
|
-
flex-direction: row-reverse;
|
|
42
|
-
|
|
43
|
-
.l7-popper-arrow {
|
|
44
|
-
border-right-color: @l7-popper-control-bg-color;
|
|
45
|
-
margin: (@l7-btn-control-size / 2 - @l7-popper-control-arrow-size) 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.l7-popper-top {
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
|
|
52
|
-
.l7-popper-arrow {
|
|
53
|
-
border-top-color: @l7-popper-control-bg-color;
|
|
54
|
-
margin: 0 (@l7-btn-control-size / 2 - @l7-popper-control-arrow-size);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.l7-popper-bottom {
|
|
59
|
-
flex-direction: column-reverse;
|
|
60
|
-
|
|
61
|
-
.l7-popper-arrow {
|
|
62
|
-
border-bottom-color: @l7-popper-control-bg-color;
|
|
63
|
-
margin: 0 (@l7-btn-control-size / 2 - @l7-popper-control-arrow-size);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.l7-popper-start {
|
|
68
|
-
align-items: flex-start;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.l7-popper-end {
|
|
72
|
-
align-items: flex-end;
|
|
73
|
-
}
|
|
74
|
-
}
|
package/es/css/popup.less
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-popup {
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
z-index: 5;
|
|
8
|
-
display: flex;
|
|
9
|
-
will-change: transform;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
|
|
12
|
-
&.l7-popup-hide {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.l7-popup-content {
|
|
17
|
-
position: relative;
|
|
18
|
-
padding: 16px;
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
background: #fff;
|
|
21
|
-
border-radius: 3px;
|
|
22
|
-
box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
|
|
23
|
-
|
|
24
|
-
.l7-popup-content__title {
|
|
25
|
-
margin-bottom: 8px;
|
|
26
|
-
font-weight: bold;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.l7-popup-close-button,
|
|
30
|
-
.l7-popup-content__title,
|
|
31
|
-
.l7-popup-content__panel {
|
|
32
|
-
white-space: normal;
|
|
33
|
-
user-select: text;
|
|
34
|
-
pointer-events: initial;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.l7-popup-close-button {
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 0;
|
|
40
|
-
right: 0;
|
|
41
|
-
width: 18px;
|
|
42
|
-
height: 18px;
|
|
43
|
-
padding: 0;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
line-height: 18px;
|
|
46
|
-
text-align: center;
|
|
47
|
-
background-color: transparent;
|
|
48
|
-
border: 0;
|
|
49
|
-
border-radius: 0 3px 0 0;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.l7-popup-tip {
|
|
55
|
-
position: relative;
|
|
56
|
-
z-index: 1;
|
|
57
|
-
width: 0;
|
|
58
|
-
height: 0;
|
|
59
|
-
border: 10px solid transparent;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.l7-popup-anchor-bottom,
|
|
63
|
-
&.l7-popup-anchor-bottom-left,
|
|
64
|
-
&.l7-popup-anchor-bottom-right {
|
|
65
|
-
flex-direction: column-reverse;
|
|
66
|
-
|
|
67
|
-
.l7-popup-tip {
|
|
68
|
-
bottom: 1px;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.l7-popup-anchor-top,
|
|
73
|
-
&.l7-popup-anchor-top-left,
|
|
74
|
-
&.l7-popup-anchor-top-right {
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
|
|
77
|
-
.l7-popup-tip {
|
|
78
|
-
top: 1px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&.l7-popup-anchor-left {
|
|
83
|
-
flex-direction: row;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.l7-popup-anchor-right {
|
|
87
|
-
flex-direction: row-reverse;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.l7-popup-anchor-top .l7-popup-tip {
|
|
92
|
-
position: relative;
|
|
93
|
-
align-self: center;
|
|
94
|
-
border-top: none;
|
|
95
|
-
border-bottom-color: #fff;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.l7-popup-anchor-top-left .l7-popup-tip {
|
|
99
|
-
align-self: flex-start;
|
|
100
|
-
border-top: none;
|
|
101
|
-
border-bottom-color: #fff;
|
|
102
|
-
border-left: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.l7-popup-anchor-top-right .l7-popup-tip {
|
|
106
|
-
align-self: flex-end;
|
|
107
|
-
border-top: none;
|
|
108
|
-
border-right: none;
|
|
109
|
-
border-bottom-color: #fff;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.l7-popup-anchor-bottom .l7-popup-tip {
|
|
113
|
-
align-self: center;
|
|
114
|
-
border-top-color: #fff;
|
|
115
|
-
border-bottom: none;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.l7-popup-anchor-bottom-left .l7-popup-tip {
|
|
119
|
-
align-self: flex-start;
|
|
120
|
-
border-top-color: #fff;
|
|
121
|
-
border-bottom: none;
|
|
122
|
-
border-left: none;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.l7-popup-anchor-bottom-right .l7-popup-tip {
|
|
126
|
-
align-self: flex-end;
|
|
127
|
-
border-top-color: #fff;
|
|
128
|
-
border-right: none;
|
|
129
|
-
border-bottom: none;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.l7-popup-anchor-left .l7-popup-tip {
|
|
133
|
-
align-self: center;
|
|
134
|
-
border-right-color: #fff;
|
|
135
|
-
border-left: none;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.l7-popup-anchor-right .l7-popup-tip {
|
|
139
|
-
right: 1px;
|
|
140
|
-
align-self: center;
|
|
141
|
-
border-right: none;
|
|
142
|
-
border-left-color: #fff;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.l7-popup-anchor-top-left .l7-popup-content {
|
|
146
|
-
border-top-left-radius: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.l7-popup-anchor-top-right .l7-popup-content {
|
|
150
|
-
border-top-right-radius: 0;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.l7-popup-anchor-bottom-left .l7-popup-content {
|
|
154
|
-
border-bottom-left-radius: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.l7-popup-anchor-bottom-right .l7-popup-content {
|
|
158
|
-
border-bottom-right-radius: 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.l7-popup-track-pointer {
|
|
162
|
-
display: none;
|
|
163
|
-
|
|
164
|
-
* {
|
|
165
|
-
user-select: none;
|
|
166
|
-
pointer-events: none;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.l7-map:hover .l7-popup-track-pointer {
|
|
171
|
-
display: flex;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.l7-map:active .l7-popup-track-pointer {
|
|
175
|
-
display: none;
|
|
176
|
-
}
|
package/es/css/scale.less
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-control-scale {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
|
|
7
|
-
.l7-control-scale-line {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
padding: 2px 5px 1px;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
color: @l7-control-font-color;
|
|
12
|
-
font-size: 10px;
|
|
13
|
-
line-height: 1.1;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
background: @l7-control-bg-color;
|
|
16
|
-
border: 2px solid #000;
|
|
17
|
-
border-top: 0;
|
|
18
|
-
transition: width 0.1s;
|
|
19
|
-
|
|
20
|
-
& + & {
|
|
21
|
-
margin-top: -2px;
|
|
22
|
-
border-top: 2px solid #777;
|
|
23
|
-
border-bottom: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.l7-right {
|
|
29
|
-
.l7-control-scale {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: flex-end;
|
|
32
|
-
|
|
33
|
-
.l7-control-scale-line {
|
|
34
|
-
text-align: right;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
package/es/css/select.less
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-select-control--normal {
|
|
4
|
-
padding: 4px 0;
|
|
5
|
-
|
|
6
|
-
.l7-select-control-item {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
height: 24px;
|
|
10
|
-
padding: 0 16px;
|
|
11
|
-
font-size: 12px;
|
|
12
|
-
line-height: 24px;
|
|
13
|
-
|
|
14
|
-
> * + * {
|
|
15
|
-
margin-left: 6px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
input[type='checkbox'] {
|
|
19
|
-
width: 14px;
|
|
20
|
-
height: 14px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
background-color: @l7-btn-control-bg-hover-color;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.l7-select-control--image {
|
|
30
|
-
@select-control-split: 12px;
|
|
31
|
-
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-wrap: wrap;
|
|
34
|
-
align-items: flex-start;
|
|
35
|
-
box-sizing: content-box;
|
|
36
|
-
max-width: 460px;
|
|
37
|
-
max-height: 400px;
|
|
38
|
-
margin: @select-control-split 0 0 @select-control-split;
|
|
39
|
-
overflow: hidden auto;
|
|
40
|
-
|
|
41
|
-
.l7-select-control-item {
|
|
42
|
-
position: relative;
|
|
43
|
-
display: flex;
|
|
44
|
-
flex: 0 0 calc((100% - (@select-control-split + 9px) * 2) / 3);
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
box-sizing: content-box;
|
|
48
|
-
margin-right: @select-control-split;
|
|
49
|
-
margin-bottom: @select-control-split;
|
|
50
|
-
overflow: hidden;
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
border: 1px solid @l7-popper-control-bg-color;
|
|
53
|
-
border-radius: @l7-btn-control-border-radius;
|
|
54
|
-
|
|
55
|
-
img {
|
|
56
|
-
width: 100%;
|
|
57
|
-
height: 80px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
input[type='checkbox'] {
|
|
61
|
-
position: absolute;
|
|
62
|
-
top: 0;
|
|
63
|
-
right: 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.l7-select-control-item-row {
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
line-height: 26px;
|
|
71
|
-
|
|
72
|
-
> * + * {
|
|
73
|
-
margin-left: 8px;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.l7-select-control-item-active {
|
|
78
|
-
border-color: @l7-select-control-active-color;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.l7-select-control-item {
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
|
|
86
|
-
input[type='checkbox'] {
|
|
87
|
-
margin: 0;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.l7-select-control--multiple {
|
|
93
|
-
.l7-select-control-item:hover {
|
|
94
|
-
background-color: transparent;
|
|
95
|
-
}
|
|
96
|
-
}
|
package/es/css/swipe.less
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
.l7-control-swipe {
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: 50%;
|
|
6
|
-
left: 50%;
|
|
7
|
-
z-index: 6;
|
|
8
|
-
transform: translate(-50%, -50%);
|
|
9
|
-
touch-action: none;
|
|
10
|
-
|
|
11
|
-
&_hide {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&::before {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: -5000px;
|
|
18
|
-
bottom: -5000px;
|
|
19
|
-
left: 50%;
|
|
20
|
-
z-index: -1;
|
|
21
|
-
width: 4px;
|
|
22
|
-
background: #fff;
|
|
23
|
-
transform: translate(-2px, 0);
|
|
24
|
-
content: '';
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.horizontal::before {
|
|
28
|
-
inset: 50% -5000px auto;
|
|
29
|
-
width: auto;
|
|
30
|
-
height: 4px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__button {
|
|
34
|
-
display: block;
|
|
35
|
-
width: @l7-btn-control-size;
|
|
36
|
-
height: @l7-btn-control-size;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
color: @l7-control-font-color;
|
|
40
|
-
font-weight: bold;
|
|
41
|
-
font-size: inherit;
|
|
42
|
-
text-align: center;
|
|
43
|
-
text-decoration: none;
|
|
44
|
-
background-color: @l7-control-bg-color;
|
|
45
|
-
border: none;
|
|
46
|
-
border-radius: 2px;
|
|
47
|
-
outline: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&,
|
|
51
|
-
&__button {
|
|
52
|
-
cursor: ew-resize;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.horizontal,
|
|
56
|
-
&.horizontal button {
|
|
57
|
-
cursor: ns-resize;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&::after,
|
|
61
|
-
&__button::before,
|
|
62
|
-
&__button::after {
|
|
63
|
-
position: absolute;
|
|
64
|
-
top: 25%;
|
|
65
|
-
bottom: 25%;
|
|
66
|
-
left: 50%;
|
|
67
|
-
width: 2px;
|
|
68
|
-
background: currentcolor;
|
|
69
|
-
transform: translate(-1px, 0);
|
|
70
|
-
content: '';
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&__button::after {
|
|
74
|
-
transform: translateX(4px);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&__button::before {
|
|
78
|
-
transform: translateX(-6px);
|
|
79
|
-
}
|
|
80
|
-
}
|
package/es/css/variables.less
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Control
|
|
2
|
-
@l7-control-space: 8px;
|
|
3
|
-
@l7-control-font-size: 12px;
|
|
4
|
-
@l7-control-font-color: #595959;
|
|
5
|
-
@l7-control-bg-color: #fff;
|
|
6
|
-
@l7-control-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
|
|
7
|
-
|
|
8
|
-
// ButtonControl
|
|
9
|
-
@l7-btn-control-bg-color: @l7-control-bg-color;
|
|
10
|
-
@l7-btn-control-bg-hover-color: #f3f3f3;
|
|
11
|
-
@l7-btn-control-bg-active-color: @l7-btn-control-bg-hover-color;
|
|
12
|
-
@l7-btn-control-size: 28px;
|
|
13
|
-
@l7-btn-icon-size: 16px;
|
|
14
|
-
@l7-btn-control-border-radius: 2px;
|
|
15
|
-
@l7-btn-control-disabled-bg-color: #fafafa;
|
|
16
|
-
@l7-btn-control-disabled-font-color: #bdbdbd;
|
|
17
|
-
@l7-btn-border-color: #f0f0f0;
|
|
18
|
-
@l7-btn-column-height: 44px;
|
|
19
|
-
|
|
20
|
-
// PopperControl
|
|
21
|
-
@l7-popper-control-bg-color: @l7-btn-control-bg-color;
|
|
22
|
-
@l7-popper-control-arrow-size: 4px;
|
|
23
|
-
|
|
24
|
-
// SelectControl
|
|
25
|
-
@l7-select-control-active-color: #0370fe;
|
|
26
|
-
|
|
27
|
-
@position-list: top, right, bottom, left;
|
|
28
|
-
|
|
29
|
-
@l7-control-z-index: 999;
|
package/es/css/zoom.less
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@import url('variables');
|
|
2
|
-
|
|
3
|
-
@zoom-icon-size: 14px;
|
|
4
|
-
|
|
5
|
-
.l7-control-zoom {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
border-radius: @l7-btn-control-border-radius;
|
|
8
|
-
box-shadow: @l7-control-shadow;
|
|
9
|
-
|
|
10
|
-
.l7-button-control {
|
|
11
|
-
font-size: @l7-btn-icon-size;
|
|
12
|
-
border-bottom: 1px solid @l7-btn-border-color;
|
|
13
|
-
border-radius: 0;
|
|
14
|
-
box-shadow: 0 0 0;
|
|
15
|
-
|
|
16
|
-
.l7-iconfont {
|
|
17
|
-
width: @zoom-icon-size;
|
|
18
|
-
height: @zoom-icon-size;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:last-child {
|
|
22
|
-
border-bottom: 0;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
& &__number {
|
|
27
|
-
color: @l7-control-font-color;
|
|
28
|
-
padding: 0;
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background-color: @l7-btn-control-bg-color;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
package/es/images/layers.png
DELETED
|
Binary file
|
package/es/images/layers.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" class="icon" p-id="8341" t="1566292427369" version="1.1" viewBox="0 0 1024 1024"><defs><style type="text/css"/></defs><path fill="#000" d="M256 341.333333l256 128 256-128-256-128-256 128z m276.864-208.384l341.034667 173.909334c20.736 10.581333 28.202667 34.56 16.682666 53.632a41.386667 41.386667 0 0 1-16.64 15.317333l-341.077333 173.909333a46.336 46.336 0 0 1-41.728 0L150.101333 375.808c-20.736-10.581333-28.202667-34.56-16.682666-53.632a41.386667 41.386667 0 0 1 16.64-15.317333l341.077333-173.909334c12.970667-6.613333 28.757333-6.613333 41.728 0z m0 587.349334a45.653333 45.653333 0 0 1-41.728 0l-341.034667-176.938667c-20.736-10.752-28.202667-35.157333-16.682666-54.528a41.642667 41.642667 0 0 1 16.64-15.573333 34.901333 34.901333 0 0 1 32.213333 0l308.906667 160.213333c12.928 6.741333 28.714667 6.741333 41.685333 0l308.864-160.213333a34.901333 34.901333 0 0 1 32.170667 0c20.736 10.752 28.202667 35.157333 16.682666 54.528a41.642667 41.642667 0 0 1-16.64 15.573333l-341.077333 176.938667z m0 170.666666a45.653333 45.653333 0 0 1-41.728 0l-341.034667-176.938666c-20.736-10.752-28.202667-35.157333-16.682666-54.528a41.642667 41.642667 0 0 1 16.64-15.573334 34.901333 34.901333 0 0 1 32.213333 0l308.906667 160.213334c12.928 6.741333 28.714667 6.741333 41.685333 0l308.864-160.213334a34.901333 34.901333 0 0 1 32.170667 0c20.736 10.752 28.202667 35.157333 16.682666 54.528a41.642667 41.642667 0 0 1-16.64 15.573334l-341.077333 176.938666z" p-id="8342"/></svg>
|
package/es/images/logo.png
DELETED
|
Binary file
|
package/es/images/quanping.svg
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<!-- Created with Vectornator (http://vectornator.io/) -->
|
|
4
|
-
<svg height="100%" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;" version="1.1" viewBox="0 0 682.67 682.67" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:vectornator="http://vectornator.io" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
5
|
-
<defs/>
|
|
6
|
-
<clipPath id="ArtboardFrame">
|
|
7
|
-
<rect height="682.67" width="682.67" x="0" y="0"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
<g clip-path="url(#ArtboardFrame)" id="Untitled" vectornator:layerName="Untitled">
|
|
10
|
-
<path d="M0 477.87L0 580.27C0.00552233 636.822 45.8483 682.664 102.4 682.67L204.8 682.67C223.424 682.351 238.356 667.162 238.356 648.535C238.356 629.908 223.424 614.719 204.8 614.4L102.4 614.4C83.5505 614.4 68.27 599.119 68.27 580.27L68.27 477.87C68.4812 465.535 62.0216 454.046 51.3734 447.817C40.7252 441.588 27.5448 441.588 16.8966 447.817C6.24842 454.046-0.211108 465.535 0 477.87ZM477.87 682.67L580.27 682.67C636.822 682.664 682.664 636.822 682.67 580.27L682.67 477.87C682.881 465.535 676.422 454.046 665.773 447.817C655.125 441.588 641.945 441.588 631.297 447.817C620.648 454.046 614.189 465.535 614.4 477.87L614.4 580.27C614.4 599.119 599.119 614.4 580.27 614.4L477.87 614.4C465.535 614.189 454.046 620.648 447.817 631.297C441.588 641.945 441.588 655.125 447.817 665.773C454.046 676.422 465.535 682.881 477.87 682.67ZM682.67 204.8L682.67 102.4C682.664 45.8483 636.822 0.00553344 580.27 1.15748e-06L477.87 1.15748e-06C465.535-0.211139 454.046 6.24838 447.817 16.8966C441.588 27.5448 441.588 40.7252 447.817 51.3734C454.046 62.0216 465.535 68.4811 477.87 68.27L580.27 68.27C599.119 68.27 614.4 83.5505 614.4 102.4L614.4 204.8C614.719 223.424 629.908 238.356 648.535 238.356C667.162 238.356 682.351 223.424 682.67 204.8ZM204.8 0L102.4 0C45.8483 0.00551165 0.00552271 45.8483-3.66902e-07 102.4L-3.66902e-07 204.8C0.318807 223.424 15.5078 238.356 34.135 238.356C52.7622 238.356 67.9512 223.424 68.27 204.8L68.27 102.4C68.27 83.5505 83.5505 68.27 102.4 68.27L204.8 68.27C223.424 67.9512 238.356 52.7622 238.356 34.135C238.356 15.5078 223.424 0.318804 204.8 0Z" fill="#333333" fill-rule="nonzero" opacity="1" stroke="none"/>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
package/es/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Marker from './marker';
|
|
2
|
-
import MarkerLayer from './marker-layer';
|
|
3
|
-
import './assets/iconfont/iconfont';
|
|
4
|
-
import './css/index.css';
|
|
5
|
-
export * from './control/baseControl';
|
|
6
|
-
export { ExportImage, type IExportImageControlOption } from './control/exportImage';
|
|
7
|
-
export { Fullscreen, type IFullscreenControlOption } from './control/fullscreen';
|
|
8
|
-
export { GeoLocate, type IGeoLocateOption } from './control/geoLocate';
|
|
9
|
-
export { LayerSwitch, type ILayerSwitchOption } from './control/layerSwitch';
|
|
10
|
-
export { Logo, type ILogoControlOption } from './control/logo';
|
|
11
|
-
export { MapTheme } from './control/mapTheme';
|
|
12
|
-
export { MouseLocation, type IMouseLocationControlOption } from './control/mouseLocation';
|
|
13
|
-
export { Scale, type IScaleControlOption } from './control/scale';
|
|
14
|
-
export { Swipe, type ISwipeControlOption } from './control/swipe';
|
|
15
|
-
export { Zoom, type IZoomControlOption } from './control/zoom';
|
|
16
|
-
export * from './interface';
|
|
17
|
-
export { LayerPopup, type ILayerPopupOption, type LayerField, type LayerPopupConfigItem, } from './popup/layerPopup';
|
|
18
|
-
export { Popup } from './popup/popup';
|
|
19
|
-
export { Marker, MarkerLayer };
|