vis-core 0.13.3 → 0.13.4
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/dist/index.js +2 -2
- package/dist/index.module.js +5 -4
- package/dist/version.d.ts +1 -1
- package/dist/vis/map/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -41145,7 +41145,7 @@ function Bl(n) {
|
|
|
41145
41145
|
const t = new qt();
|
|
41146
41146
|
return t.color.setScalar(n), t;
|
|
41147
41147
|
}
|
|
41148
|
-
const pX = "0.13.
|
|
41148
|
+
const pX = "0.13.4", o1 = !1;
|
|
41149
41149
|
class Na {
|
|
41150
41150
|
constructor(t, e = {}) {
|
|
41151
41151
|
D(this, "container");
|
|
@@ -42063,6 +42063,7 @@ const DI = {
|
|
|
42063
42063
|
parentBg: !1,
|
|
42064
42064
|
continentsBg: !1,
|
|
42065
42065
|
continentsBgDepth: 0,
|
|
42066
|
+
parentBgDepth: 0,
|
|
42066
42067
|
clickOusideBack: !0,
|
|
42067
42068
|
mapDepth: [1, 0.4, 0.2],
|
|
42068
42069
|
mapPadding: [100, 100, 100, 100],
|
|
@@ -42110,7 +42111,7 @@ const DI = {
|
|
|
42110
42111
|
shadowMap: !1
|
|
42111
42112
|
});
|
|
42112
42113
|
D(this, "shadowMapLight");
|
|
42113
|
-
if (this.pencilConfig = jI, (this.getAdcodeShowLevel(this.options.adcode) === "province" || this.getAdcodeShowLevel(this.options.adcode) === "country") && (this.extendsOptions.parentBg = () => this.options.parentBg, this.extendsOptions.continentsBg = () => this.options.continentsBg, this.extendsOptions.continentsBgDepth = () => this.options.continentsBgDepth, this.options.continentsBg && this.options.adcode === 1e5 && (this.options.center = [104, 37.5])), this.options.adcode === 0) {
|
|
42114
|
+
if (this.pencilConfig = jI, (this.getAdcodeShowLevel(this.options.adcode) === "province" || this.getAdcodeShowLevel(this.options.adcode) === "country") && (this.extendsOptions.parentBg = () => this.options.parentBg, this.extendsOptions.parentBgDepth = () => this.options.parentBgDepth, this.extendsOptions.continentsBg = () => this.options.continentsBg, this.extendsOptions.continentsBgDepth = () => this.options.continentsBgDepth, this.options.continentsBg && this.options.adcode === 1e5 && (this.options.center = [104, 37.5])), this.options.adcode === 0) {
|
|
42114
42115
|
if (this.options.extrudeLine) {
|
|
42115
42116
|
const o = {
|
|
42116
42117
|
type: "FeatureCollection",
|
|
@@ -42183,10 +42184,10 @@ const DI = {
|
|
|
42183
42184
|
},
|
|
42184
42185
|
areaGroup: !1,
|
|
42185
42186
|
bbox: c,
|
|
42186
|
-
depth:
|
|
42187
|
+
depth: this.options.parentBgDepth,
|
|
42187
42188
|
materialOptions: Et({}, d)
|
|
42188
42189
|
});
|
|
42189
|
-
this.parentBg.push(r);
|
|
42190
|
+
r.position.z = -this.options.parentBgDepth, this.parentBg.push(r);
|
|
42190
42191
|
}
|
|
42191
42192
|
this.options.continentsBg && (this.continentsBg = yield this.drawController.draw("ContinentsBg", {
|
|
42192
42193
|
depth: this.options.continentsBgDepth,
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.13.
|
|
1
|
+
declare const _default: "0.13.4";
|
|
2
2
|
export default _default;
|
package/dist/vis/map/index.d.ts
CHANGED