@kq_npm/client3d_webgl_vue 2.8.6-beta → 2.8.8-beta
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/index.js +3 -1
- package/package.json +1 -1
- package/scenceview/index.js +3 -1
package/index.js
CHANGED
|
@@ -853,6 +853,8 @@ class DrawManager {
|
|
|
853
853
|
steps: 64,
|
|
854
854
|
units: "meters"
|
|
855
855
|
});
|
|
856
|
+
geoFeature.geometry.radius = shape.radius;
|
|
857
|
+
geoFeature.geometry.center = Cesium.Utils.cartesian2Lonlat(shape.center);
|
|
856
858
|
} else if (shape.type === that._drawHandler.ShapeTypes.POLYLINE.type) {
|
|
857
859
|
let position = [[]];
|
|
858
860
|
shape.controlPoints.forEach(function (val) {
|
|
@@ -905,7 +907,7 @@ class DrawManager {
|
|
|
905
907
|
|
|
906
908
|
for (var type in style) {
|
|
907
909
|
if (style[type].hasOwnProperty("color")) {
|
|
908
|
-
style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
910
|
+
if (!style[type].material) style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
909
911
|
}
|
|
910
912
|
|
|
911
913
|
if (style[type].hasOwnProperty("fillColor")) {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"2.8.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"2.8.8-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -21832,6 +21832,8 @@ class DrawManager {
|
|
|
21832
21832
|
steps: 64,
|
|
21833
21833
|
units: "meters"
|
|
21834
21834
|
});
|
|
21835
|
+
geoFeature.geometry.radius = shape.radius;
|
|
21836
|
+
geoFeature.geometry.center = Cesium.Utils.cartesian2Lonlat(shape.center);
|
|
21835
21837
|
} else if (shape.type === that._drawHandler.ShapeTypes.POLYLINE.type) {
|
|
21836
21838
|
let position = [[]];
|
|
21837
21839
|
shape.controlPoints.forEach(function (val) {
|
|
@@ -21884,7 +21886,7 @@ class DrawManager {
|
|
|
21884
21886
|
|
|
21885
21887
|
for (var type in style) {
|
|
21886
21888
|
if (style[type].hasOwnProperty("color")) {
|
|
21887
|
-
style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
21889
|
+
if (!style[type].material) style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
21888
21890
|
}
|
|
21889
21891
|
|
|
21890
21892
|
if (style[type].hasOwnProperty("fillColor")) {
|