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