@antv/l7-map 2.13.6 → 2.13.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/es/handler/mouse/mouse_handler.js +2 -2
- package/es/handler/tap/single_tap_recognizer.js +3 -3
- package/es/handler/tap/tap_drag_zoom.js +3 -3
- package/es/handler/tap/tap_recognizer.js +1 -1
- package/es/handler/touch/touch_pitch.js +2 -2
- package/es/handler/touch/touch_rotate.js +3 -3
- package/es/handler/touch/touch_zoom.js +2 -2
- package/es/handler/touch/two_touch.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/lib/handler/mouse/mouse_handler.js +2 -2
- package/lib/handler/tap/single_tap_recognizer.js +3 -3
- package/lib/handler/tap/tap_drag_zoom.js +3 -3
- package/lib/handler/tap/tap_recognizer.js +1 -1
- package/lib/handler/touch/touch_pitch.js +2 -2
- package/lib/handler/touch/touch_rotate.js +3 -3
- package/lib/handler/touch/touch_zoom.js +2 -2
- package/lib/handler/touch/two_touch.js +1 -1
- package/lib/index.js +13 -13
- package/package.json +3 -3
|
@@ -16,9 +16,9 @@ var MouseHandler = /*#__PURE__*/function () {
|
|
|
16
16
|
key: "reset",
|
|
17
17
|
value: function reset() {
|
|
18
18
|
this.active = false;
|
|
19
|
-
this.moved = false;
|
|
19
|
+
this.moved = false; // @ts-ignore
|
|
20
20
|
|
|
21
|
-
delete this.lastPoint;
|
|
21
|
+
delete this.lastPoint; // @ts-ignore
|
|
22
22
|
|
|
23
23
|
delete this.eventButton;
|
|
24
24
|
}
|
|
@@ -48,10 +48,10 @@ var SingleTapRecognizer = /*#__PURE__*/function () {
|
|
|
48
48
|
_createClass(SingleTapRecognizer, [{
|
|
49
49
|
key: "reset",
|
|
50
50
|
value: function reset() {
|
|
51
|
-
|
|
52
|
-
delete this.centroid;
|
|
51
|
+
// @ts-ignore
|
|
52
|
+
delete this.centroid; // @ts-ignore
|
|
53
53
|
|
|
54
|
-
delete this.startTime;
|
|
54
|
+
delete this.startTime; // @ts-ignore
|
|
55
55
|
|
|
56
56
|
delete this.touches;
|
|
57
57
|
this.aborted = false;
|
|
@@ -18,11 +18,11 @@ var TapDragZoomHandler = /*#__PURE__*/function () {
|
|
|
18
18
|
_createClass(TapDragZoomHandler, [{
|
|
19
19
|
key: "reset",
|
|
20
20
|
value: function reset() {
|
|
21
|
-
this.active = false;
|
|
21
|
+
this.active = false; // @ts-ignore
|
|
22
22
|
|
|
23
|
-
delete this.swipePoint;
|
|
23
|
+
delete this.swipePoint; // @ts-ignore
|
|
24
24
|
|
|
25
|
-
delete this.swipeTouch;
|
|
25
|
+
delete this.swipeTouch; // @ts-ignore
|
|
26
26
|
|
|
27
27
|
delete this.tapTime;
|
|
28
28
|
this.tap.reset();
|
|
@@ -34,9 +34,9 @@ var TouchPitchHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
34
34
|
value: function reset() {
|
|
35
35
|
_get(_getPrototypeOf(TouchPitchHandler.prototype), "reset", this).call(this);
|
|
36
36
|
|
|
37
|
-
this.valid = undefined;
|
|
37
|
+
this.valid = undefined; // @ts-ignore
|
|
38
38
|
|
|
39
|
-
delete this.firstMove;
|
|
39
|
+
delete this.firstMove; // @ts-ignore
|
|
40
40
|
|
|
41
41
|
delete this.lastPoints;
|
|
42
42
|
}
|
|
@@ -31,12 +31,12 @@ var TouchRotateHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
31
31
|
_createClass(TouchRotateHandler, [{
|
|
32
32
|
key: "reset",
|
|
33
33
|
value: function reset() {
|
|
34
|
-
_get(_getPrototypeOf(TouchRotateHandler.prototype), "reset", this).call(this);
|
|
34
|
+
_get(_getPrototypeOf(TouchRotateHandler.prototype), "reset", this).call(this); // @ts-ignore
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
delete this.minDiameter;
|
|
37
|
+
delete this.minDiameter; // @ts-ignore
|
|
38
38
|
|
|
39
|
-
delete this.startVector;
|
|
39
|
+
delete this.startVector; // @ts-ignore
|
|
40
40
|
|
|
41
41
|
delete this.vector;
|
|
42
42
|
}
|
|
@@ -31,10 +31,10 @@ var TouchZoomHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
31
31
|
_createClass(TouchZoomHandler, [{
|
|
32
32
|
key: "reset",
|
|
33
33
|
value: function reset() {
|
|
34
|
-
_get(_getPrototypeOf(TouchZoomHandler.prototype), "reset", this).call(this);
|
|
34
|
+
_get(_getPrototypeOf(TouchZoomHandler.prototype), "reset", this).call(this); // @ts-ignore
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
delete this.distance;
|
|
37
|
+
delete this.distance; // @ts-ignore
|
|
38
38
|
|
|
39
39
|
delete this.startDistance;
|
|
40
40
|
}
|
|
@@ -14,7 +14,7 @@ var TwoTouchHandler = /*#__PURE__*/function () {
|
|
|
14
14
|
_createClass(TwoTouchHandler, [{
|
|
15
15
|
key: "reset",
|
|
16
16
|
value: function reset() {
|
|
17
|
-
this.active = false;
|
|
17
|
+
this.active = false; // @ts-ignore
|
|
18
18
|
|
|
19
19
|
delete this.firstTwoTouches;
|
|
20
20
|
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -27,9 +27,9 @@ var MouseHandler = /*#__PURE__*/function () {
|
|
|
27
27
|
key: "reset",
|
|
28
28
|
value: function reset() {
|
|
29
29
|
this.active = false;
|
|
30
|
-
this.moved = false;
|
|
30
|
+
this.moved = false; // @ts-ignore
|
|
31
31
|
|
|
32
|
-
delete this.lastPoint;
|
|
32
|
+
delete this.lastPoint; // @ts-ignore
|
|
33
33
|
|
|
34
34
|
delete this.eventButton;
|
|
35
35
|
}
|
|
@@ -60,10 +60,10 @@ var SingleTapRecognizer = /*#__PURE__*/function () {
|
|
|
60
60
|
(0, _createClass2.default)(SingleTapRecognizer, [{
|
|
61
61
|
key: "reset",
|
|
62
62
|
value: function reset() {
|
|
63
|
-
|
|
64
|
-
delete this.centroid;
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
delete this.centroid; // @ts-ignore
|
|
65
65
|
|
|
66
|
-
delete this.startTime;
|
|
66
|
+
delete this.startTime; // @ts-ignore
|
|
67
67
|
|
|
68
68
|
delete this.touches;
|
|
69
69
|
this.aborted = false;
|
|
@@ -29,11 +29,11 @@ var TapDragZoomHandler = /*#__PURE__*/function () {
|
|
|
29
29
|
(0, _createClass2.default)(TapDragZoomHandler, [{
|
|
30
30
|
key: "reset",
|
|
31
31
|
value: function reset() {
|
|
32
|
-
this.active = false;
|
|
32
|
+
this.active = false; // @ts-ignore
|
|
33
33
|
|
|
34
|
-
delete this.swipePoint;
|
|
34
|
+
delete this.swipePoint; // @ts-ignore
|
|
35
35
|
|
|
36
|
-
delete this.swipeTouch;
|
|
36
|
+
delete this.swipeTouch; // @ts-ignore
|
|
37
37
|
|
|
38
38
|
delete this.tapTime;
|
|
39
39
|
this.tap.reset();
|
|
@@ -31,7 +31,7 @@ var TapRecognizer = /*#__PURE__*/function () {
|
|
|
31
31
|
(0, _createClass2.default)(TapRecognizer, [{
|
|
32
32
|
key: "reset",
|
|
33
33
|
value: function reset() {
|
|
34
|
-
this.lastTime = Infinity;
|
|
34
|
+
this.lastTime = Infinity; // @ts-ignore
|
|
35
35
|
|
|
36
36
|
delete this.lastTap;
|
|
37
37
|
this.count = 0;
|
|
@@ -45,9 +45,9 @@ var TouchPitchHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
45
45
|
key: "reset",
|
|
46
46
|
value: function reset() {
|
|
47
47
|
(0, _get2.default)((0, _getPrototypeOf2.default)(TouchPitchHandler.prototype), "reset", this).call(this);
|
|
48
|
-
this.valid = undefined;
|
|
48
|
+
this.valid = undefined; // @ts-ignore
|
|
49
49
|
|
|
50
|
-
delete this.firstMove;
|
|
50
|
+
delete this.firstMove; // @ts-ignore
|
|
51
51
|
|
|
52
52
|
delete this.lastPoints;
|
|
53
53
|
}
|
|
@@ -44,11 +44,11 @@ var TouchRotateHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
44
44
|
(0, _createClass2.default)(TouchRotateHandler, [{
|
|
45
45
|
key: "reset",
|
|
46
46
|
value: function reset() {
|
|
47
|
-
(0, _get2.default)((0, _getPrototypeOf2.default)(TouchRotateHandler.prototype), "reset", this).call(this);
|
|
47
|
+
(0, _get2.default)((0, _getPrototypeOf2.default)(TouchRotateHandler.prototype), "reset", this).call(this); // @ts-ignore
|
|
48
48
|
|
|
49
|
-
delete this.minDiameter;
|
|
49
|
+
delete this.minDiameter; // @ts-ignore
|
|
50
50
|
|
|
51
|
-
delete this.startVector;
|
|
51
|
+
delete this.startVector; // @ts-ignore
|
|
52
52
|
|
|
53
53
|
delete this.vector;
|
|
54
54
|
}
|
|
@@ -44,9 +44,9 @@ var TouchZoomHandler = /*#__PURE__*/function (_TwoTouchHandler) {
|
|
|
44
44
|
(0, _createClass2.default)(TouchZoomHandler, [{
|
|
45
45
|
key: "reset",
|
|
46
46
|
value: function reset() {
|
|
47
|
-
(0, _get2.default)((0, _getPrototypeOf2.default)(TouchZoomHandler.prototype), "reset", this).call(this);
|
|
47
|
+
(0, _get2.default)((0, _getPrototypeOf2.default)(TouchZoomHandler.prototype), "reset", this).call(this); // @ts-ignore
|
|
48
48
|
|
|
49
|
-
delete this.distance;
|
|
49
|
+
delete this.distance; // @ts-ignore
|
|
50
50
|
|
|
51
51
|
delete this.startDistance;
|
|
52
52
|
}
|
|
@@ -25,7 +25,7 @@ var TwoTouchHandler = /*#__PURE__*/function () {
|
|
|
25
25
|
(0, _createClass2.default)(TwoTouchHandler, [{
|
|
26
26
|
key: "reset",
|
|
27
27
|
value: function reset() {
|
|
28
|
-
this.active = false;
|
|
28
|
+
this.active = false; // @ts-ignore
|
|
29
29
|
|
|
30
30
|
delete this.firstTwoTouches;
|
|
31
31
|
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
package/lib/index.js
CHANGED
|
@@ -4,19 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var _map = require("./map");
|
|
8
|
-
|
|
9
|
-
Object.keys(_map).forEach(function (key) {
|
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (key in exports && exports[key] === _map[key]) return;
|
|
12
|
-
Object.defineProperty(exports, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _map[key];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
|
|
20
7
|
var _earthmap = require("./earthmap");
|
|
21
8
|
|
|
22
9
|
Object.keys(_earthmap).forEach(function (key) {
|
|
@@ -54,4 +41,17 @@ Object.keys(_interface).forEach(function (key) {
|
|
|
54
41
|
return _interface[key];
|
|
55
42
|
}
|
|
56
43
|
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
var _map = require("./map");
|
|
47
|
+
|
|
48
|
+
Object.keys(_map).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (key in exports && exports[key] === _map[key]) return;
|
|
51
|
+
Object.defineProperty(exports, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function get() {
|
|
54
|
+
return _map[key];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
57
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.7",
|
|
4
4
|
"description": "l7 map",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "thinkinggis <lzx199065@gmail.com>",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://github.com/antvis/L7#readme",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@antv/l7-utils": "2.13.
|
|
42
|
+
"@antv/l7-utils": "2.13.7",
|
|
43
43
|
"@babel/runtime": "^7.7.7",
|
|
44
44
|
"@mapbox/point-geometry": "^0.1.0",
|
|
45
45
|
"@mapbox/unitbezier": "^0.0.0",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"gl-matrix": "^3.1.0",
|
|
48
48
|
"lodash": "^4.17.15"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "322cff4a31491437a1409ec3f7d3a313ba8a3a2c"
|
|
51
51
|
}
|