@antv/l7-map 2.9.27-alpha.2 → 2.9.27-alpha.3
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/geo/transform.js +1 -1
- package/es/map.js +1 -1
- package/package.json +3 -3
package/es/geo/transform.js
CHANGED
|
@@ -882,7 +882,7 @@ var Transform = /*#__PURE__*/function () {
|
|
|
882
882
|
// seems to solve z-fighting issues in deckgl while not clipping buildings too close to the camera.
|
|
883
883
|
|
|
884
884
|
var nearZ = this.height / 50; // matrix for conversion from location to GL coordinates (-1 .. 1)
|
|
885
|
-
//
|
|
885
|
+
// 使用 Float64Array 的原因是为了避免计算精度问题、 mat4.create() 默认使用 Float32Array
|
|
886
886
|
|
|
887
887
|
var m = new Float64Array(16); // @ts-ignore
|
|
888
888
|
|
package/es/map.js
CHANGED
|
@@ -178,7 +178,7 @@ export var Map = /*#__PURE__*/function (_Camera) {
|
|
|
178
178
|
width = _this$containerDimens2[0],
|
|
179
179
|
height = _this$containerDimens2[1];
|
|
180
180
|
|
|
181
|
-
this.transform.resize(width, height); //
|
|
181
|
+
this.transform.resize(width, height); // 小程序环境不需要执行后续动作
|
|
182
182
|
|
|
183
183
|
if (isMini) {
|
|
184
184
|
return this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.9.27-alpha.
|
|
3
|
+
"version": "2.9.27-alpha.3",
|
|
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.9.27-alpha.
|
|
42
|
+
"@antv/l7-utils": "2.9.27-alpha.3",
|
|
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": "395ceeac3d64e838604f6acf8a84668488762ee3"
|
|
51
51
|
}
|