Преглед на файлове

添加驾驶舱地图边界线

lkk преди 1 година
родител
ревизия
35c51376f2
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      src/views/viewer.vue

+ 4 - 2
src/views/viewer.vue

@@ -259,11 +259,13 @@ export default {
                         hierarchy: {
                             positions: Cesium.Cartesian3.fromDegreesArray(oneDArray),
                         },
-                        outline: false,
+                        // outline: false,
                         material: Cesium.Color.fromCssColorString(that.xzqh_color),
                         height: 100,
                         extrudedHeight: 450,
-
+                        outline : true,
+                        // outlineColor : Cesium.Color.BLACK
+                        outlineColor : Cesium.Color.fromCssColorString('#55A1E3')
                     }
                 });