|
@@ -94,9 +94,6 @@ export default {
|
|
|
},
|
|
|
mounted()
|
|
|
{
|
|
|
- // -----------------------------------
|
|
|
-
|
|
|
- // -----------------------------------
|
|
|
var viewer = new Cesium.Viewer("cesiumContainer", {
|
|
|
animation: false, //是否显示动画控件
|
|
|
shouldAnimate: true,
|
|
@@ -118,6 +115,7 @@ export default {
|
|
|
baseLayerPicker: false,
|
|
|
}),
|
|
|
});
|
|
|
+ viewer._cesiumWidget._creditContainer.style.display = "none";//去除版权信息
|
|
|
viewer.scene.camera.setView({
|
|
|
// 初始化相机经纬度
|
|
|
destination: new Cesium.Cartesian3.fromDegrees(
|
|
@@ -234,7 +232,7 @@ export default {
|
|
|
Cesium.GeoJsonDataSource.load(
|
|
|
`${ this.publicPath }static/mapgeoJsonnx.json`,
|
|
|
{
|
|
|
- stroke: Cesium.Color.green,
|
|
|
+ stroke: Cesium.Color(0,1,1,1),
|
|
|
fill: Cesium.Color.TRANSPARENT,
|
|
|
strokeWidth: 3,
|
|
|
markerSymbol: "?",
|