egovamap 0.35.13 → 0.35.14
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/egovamap/egovaBI.js +7 -3
- package/egovamap/egovaglobe.js +9 -0
- package/package.json +1 -1
package/egovamap/egovaBI.js
CHANGED
|
@@ -193,9 +193,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
193
193
|
font: {
|
|
194
194
|
size: options.textStyle.fontSize + 'px',
|
|
195
195
|
weight: options.textStyle.fontWeight,
|
|
196
|
-
family:
|
|
197
|
-
options.textStyle.family ||
|
|
198
|
-
'microsoft-yahei',
|
|
196
|
+
family: options.textStyle.family || 'microsoft-yahei',
|
|
199
197
|
},
|
|
200
198
|
};
|
|
201
199
|
}
|
|
@@ -1603,6 +1601,12 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
1603
1601
|
globeMap.frustumOperation(options);
|
|
1604
1602
|
}
|
|
1605
1603
|
};
|
|
1604
|
+
// 新的机场区域效果
|
|
1605
|
+
this.globeImageryFocus = function (options) {
|
|
1606
|
+
if (globeMap !== null && mapType === 'globe') {
|
|
1607
|
+
globeMap.globeImageryFocus(options);
|
|
1608
|
+
}
|
|
1609
|
+
};
|
|
1606
1610
|
};
|
|
1607
1611
|
|
|
1608
1612
|
export default egovaBI;
|
package/egovamap/egovaglobe.js
CHANGED
|
@@ -3751,6 +3751,15 @@ var EGovaGlobeMap = function (
|
|
|
3751
3751
|
false
|
|
3752
3752
|
);
|
|
3753
3753
|
};
|
|
3754
|
+
that.globeImageryFocus = function (options) {
|
|
3755
|
+
if (scene === null) return;
|
|
3756
|
+
scene.fire(
|
|
3757
|
+
msgPrefix + ':globeImageryFocus',
|
|
3758
|
+
{ args: [options] },
|
|
3759
|
+
parentScene,
|
|
3760
|
+
false
|
|
3761
|
+
);
|
|
3762
|
+
};
|
|
3754
3763
|
that.init();
|
|
3755
3764
|
};
|
|
3756
3765
|
|