@antv/l7-map 2.22.4 → 2.22.6
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/map/css/l7.css +10 -2
- package/es/map/map.js +10 -2
- package/lib/map/css/l7.css +10 -2
- package/lib/map/map.js +10 -2
- package/package.json +2 -2
package/es/map/css/l7.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
sans-serif;
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
position: relative;
|
|
9
|
-
-webkit-tap-highlight-color:
|
|
9
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.l7-canvas {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
top: 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.l7-map
|
|
18
|
+
.l7-map:full-screen {
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 100%;
|
|
21
21
|
}
|
|
@@ -103,18 +103,22 @@
|
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
z-index: 2;
|
|
105
105
|
}
|
|
106
|
+
|
|
106
107
|
.l7-ctrl-top-left {
|
|
107
108
|
top: 0;
|
|
108
109
|
left: 0;
|
|
109
110
|
}
|
|
111
|
+
|
|
110
112
|
.l7-ctrl-top-right {
|
|
111
113
|
top: 0;
|
|
112
114
|
right: 0;
|
|
113
115
|
}
|
|
116
|
+
|
|
114
117
|
.l7-ctrl-bottom-left {
|
|
115
118
|
bottom: 0;
|
|
116
119
|
left: 0;
|
|
117
120
|
}
|
|
121
|
+
|
|
118
122
|
.l7-ctrl-bottom-right {
|
|
119
123
|
right: 0;
|
|
120
124
|
bottom: 0;
|
|
@@ -127,18 +131,22 @@
|
|
|
127
131
|
/* workaround for a Safari bug https://github.com/mapbox/mapbox-gl-js/issues/8185 */
|
|
128
132
|
transform: translate(0, 0);
|
|
129
133
|
}
|
|
134
|
+
|
|
130
135
|
.l7-ctrl-top-left .l7-ctrl {
|
|
131
136
|
margin: 10px 0 0 10px;
|
|
132
137
|
float: left;
|
|
133
138
|
}
|
|
139
|
+
|
|
134
140
|
.l7-ctrl-top-right .l7-ctrl {
|
|
135
141
|
margin: 10px 10px 0 0;
|
|
136
142
|
float: right;
|
|
137
143
|
}
|
|
144
|
+
|
|
138
145
|
.l7-ctrl-bottom-left .l7-ctrl {
|
|
139
146
|
margin: 0 0 10px 10px;
|
|
140
147
|
float: left;
|
|
141
148
|
}
|
|
149
|
+
|
|
142
150
|
.l7-ctrl-bottom-right .l7-ctrl {
|
|
143
151
|
margin: 0 10px 10px 0;
|
|
144
152
|
float: right;
|
package/es/map/map.js
CHANGED
|
@@ -49,7 +49,7 @@ loadStyles(`.l7-map {
|
|
|
49
49
|
sans-serif;
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
position: relative;
|
|
52
|
-
-webkit-tap-highlight-color:
|
|
52
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.l7-canvas {
|
|
@@ -58,7 +58,7 @@ loadStyles(`.l7-map {
|
|
|
58
58
|
top: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.l7-map
|
|
61
|
+
.l7-map:full-screen {
|
|
62
62
|
width: 100%;
|
|
63
63
|
height: 100%;
|
|
64
64
|
}
|
|
@@ -149,18 +149,22 @@ loadStyles(`.l7-map {
|
|
|
149
149
|
pointer-events: none;
|
|
150
150
|
z-index: 2;
|
|
151
151
|
}
|
|
152
|
+
|
|
152
153
|
.l7-ctrl-top-left {
|
|
153
154
|
top: 0;
|
|
154
155
|
left: 0;
|
|
155
156
|
}
|
|
157
|
+
|
|
156
158
|
.l7-ctrl-top-right {
|
|
157
159
|
top: 0;
|
|
158
160
|
right: 0;
|
|
159
161
|
}
|
|
162
|
+
|
|
160
163
|
.l7-ctrl-bottom-left {
|
|
161
164
|
bottom: 0;
|
|
162
165
|
left: 0;
|
|
163
166
|
}
|
|
167
|
+
|
|
164
168
|
.l7-ctrl-bottom-right {
|
|
165
169
|
right: 0;
|
|
166
170
|
bottom: 0;
|
|
@@ -174,18 +178,22 @@ loadStyles(`.l7-map {
|
|
|
174
178
|
-webkit-transform: translate(0, 0);
|
|
175
179
|
transform: translate(0, 0);
|
|
176
180
|
}
|
|
181
|
+
|
|
177
182
|
.l7-ctrl-top-left .l7-ctrl {
|
|
178
183
|
margin: 10px 0 0 10px;
|
|
179
184
|
float: left;
|
|
180
185
|
}
|
|
186
|
+
|
|
181
187
|
.l7-ctrl-top-right .l7-ctrl {
|
|
182
188
|
margin: 10px 10px 0 0;
|
|
183
189
|
float: right;
|
|
184
190
|
}
|
|
191
|
+
|
|
185
192
|
.l7-ctrl-bottom-left .l7-ctrl {
|
|
186
193
|
margin: 0 0 10px 10px;
|
|
187
194
|
float: left;
|
|
188
195
|
}
|
|
196
|
+
|
|
189
197
|
.l7-ctrl-bottom-right .l7-ctrl {
|
|
190
198
|
margin: 0 10px 10px 0;
|
|
191
199
|
float: right;
|
package/lib/map/css/l7.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
sans-serif;
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
position: relative;
|
|
9
|
-
-webkit-tap-highlight-color:
|
|
9
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.l7-canvas {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
top: 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.l7-map
|
|
18
|
+
.l7-map:full-screen {
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 100%;
|
|
21
21
|
}
|
|
@@ -103,18 +103,22 @@
|
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
z-index: 2;
|
|
105
105
|
}
|
|
106
|
+
|
|
106
107
|
.l7-ctrl-top-left {
|
|
107
108
|
top: 0;
|
|
108
109
|
left: 0;
|
|
109
110
|
}
|
|
111
|
+
|
|
110
112
|
.l7-ctrl-top-right {
|
|
111
113
|
top: 0;
|
|
112
114
|
right: 0;
|
|
113
115
|
}
|
|
116
|
+
|
|
114
117
|
.l7-ctrl-bottom-left {
|
|
115
118
|
bottom: 0;
|
|
116
119
|
left: 0;
|
|
117
120
|
}
|
|
121
|
+
|
|
118
122
|
.l7-ctrl-bottom-right {
|
|
119
123
|
right: 0;
|
|
120
124
|
bottom: 0;
|
|
@@ -127,18 +131,22 @@
|
|
|
127
131
|
/* workaround for a Safari bug https://github.com/mapbox/mapbox-gl-js/issues/8185 */
|
|
128
132
|
transform: translate(0, 0);
|
|
129
133
|
}
|
|
134
|
+
|
|
130
135
|
.l7-ctrl-top-left .l7-ctrl {
|
|
131
136
|
margin: 10px 0 0 10px;
|
|
132
137
|
float: left;
|
|
133
138
|
}
|
|
139
|
+
|
|
134
140
|
.l7-ctrl-top-right .l7-ctrl {
|
|
135
141
|
margin: 10px 10px 0 0;
|
|
136
142
|
float: right;
|
|
137
143
|
}
|
|
144
|
+
|
|
138
145
|
.l7-ctrl-bottom-left .l7-ctrl {
|
|
139
146
|
margin: 0 0 10px 10px;
|
|
140
147
|
float: left;
|
|
141
148
|
}
|
|
149
|
+
|
|
142
150
|
.l7-ctrl-bottom-right .l7-ctrl {
|
|
143
151
|
margin: 0 10px 10px 0;
|
|
144
152
|
float: right;
|
package/lib/map/map.js
CHANGED
|
@@ -57,7 +57,7 @@ loadStyles(`.l7-map {
|
|
|
57
57
|
sans-serif;
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
position: relative;
|
|
60
|
-
-webkit-tap-highlight-color:
|
|
60
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.l7-canvas {
|
|
@@ -66,7 +66,7 @@ loadStyles(`.l7-map {
|
|
|
66
66
|
top: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.l7-map
|
|
69
|
+
.l7-map:full-screen {
|
|
70
70
|
width: 100%;
|
|
71
71
|
height: 100%;
|
|
72
72
|
}
|
|
@@ -157,18 +157,22 @@ loadStyles(`.l7-map {
|
|
|
157
157
|
pointer-events: none;
|
|
158
158
|
z-index: 2;
|
|
159
159
|
}
|
|
160
|
+
|
|
160
161
|
.l7-ctrl-top-left {
|
|
161
162
|
top: 0;
|
|
162
163
|
left: 0;
|
|
163
164
|
}
|
|
165
|
+
|
|
164
166
|
.l7-ctrl-top-right {
|
|
165
167
|
top: 0;
|
|
166
168
|
right: 0;
|
|
167
169
|
}
|
|
170
|
+
|
|
168
171
|
.l7-ctrl-bottom-left {
|
|
169
172
|
bottom: 0;
|
|
170
173
|
left: 0;
|
|
171
174
|
}
|
|
175
|
+
|
|
172
176
|
.l7-ctrl-bottom-right {
|
|
173
177
|
right: 0;
|
|
174
178
|
bottom: 0;
|
|
@@ -182,18 +186,22 @@ loadStyles(`.l7-map {
|
|
|
182
186
|
-webkit-transform: translate(0, 0);
|
|
183
187
|
transform: translate(0, 0);
|
|
184
188
|
}
|
|
189
|
+
|
|
185
190
|
.l7-ctrl-top-left .l7-ctrl {
|
|
186
191
|
margin: 10px 0 0 10px;
|
|
187
192
|
float: left;
|
|
188
193
|
}
|
|
194
|
+
|
|
189
195
|
.l7-ctrl-top-right .l7-ctrl {
|
|
190
196
|
margin: 10px 10px 0 0;
|
|
191
197
|
float: right;
|
|
192
198
|
}
|
|
199
|
+
|
|
193
200
|
.l7-ctrl-bottom-left .l7-ctrl {
|
|
194
201
|
margin: 0 0 10px 10px;
|
|
195
202
|
float: left;
|
|
196
203
|
}
|
|
204
|
+
|
|
197
205
|
.l7-ctrl-bottom-right .l7-ctrl {
|
|
198
206
|
margin: 0 10px 10px 0;
|
|
199
207
|
float: right;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.6",
|
|
4
4
|
"description": "L7 Map",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/antvis/L7#readme",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@mapbox/unitbezier": "^0.0.1",
|
|
28
28
|
"eventemitter3": "^4.0.4",
|
|
29
29
|
"gl-matrix": "^3.1.0",
|
|
30
|
-
"@antv/l7-utils": "2.22.
|
|
30
|
+
"@antv/l7-utils": "2.22.6"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/mapbox__point-geometry": "^0.1.4"
|