@antv/l7-map 2.9.37 → 2.10.1
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.js +1 -1
- package/lib/map.js +1 -1
- package/package.json +3 -3
package/es/map.js
CHANGED
|
@@ -451,7 +451,7 @@ export var Map = /*#__PURE__*/function (_Camera) {
|
|
|
451
451
|
} else {
|
|
452
452
|
width = this.container.clientWidth;
|
|
453
453
|
height = this.container.clientHeight;
|
|
454
|
-
width = width
|
|
454
|
+
width = width === 0 ? 400 : width;
|
|
455
455
|
height = height === 0 ? 300 : height;
|
|
456
456
|
}
|
|
457
457
|
}
|
package/lib/map.js
CHANGED
|
@@ -475,7 +475,7 @@ var Map = /*#__PURE__*/function (_Camera) {
|
|
|
475
475
|
} else {
|
|
476
476
|
width = this.container.clientWidth;
|
|
477
477
|
height = this.container.clientHeight;
|
|
478
|
-
width = width
|
|
478
|
+
width = width === 0 ? 400 : width;
|
|
479
479
|
height = height === 0 ? 300 : height;
|
|
480
480
|
}
|
|
481
481
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
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.
|
|
42
|
+
"@antv/l7-utils": "2.10.1",
|
|
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": "25282411015887cd36c2de1e89a43beb886e1a70"
|
|
51
51
|
}
|