|
@@ -434,18 +434,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
{ template: false, offsetY: 0 }
|
|
{ template: false, offsetY: 0 }
|
|
|
)
|
|
)
|
|
|
- } else if (['3-1', '3-2', '3-3'].includes(layer.id)) {
|
|
|
|
|
- // layer.bindPopup(
|
|
|
|
|
- // function (event) {
|
|
|
|
|
- // window.closePopupA = function () {
|
|
|
|
|
- // event.graphic.closePopup()
|
|
|
|
|
- // }
|
|
|
|
|
- // const popupHtml = getSitePopup(layer.id)
|
|
|
|
|
- // return popupHtml
|
|
|
|
|
- // },
|
|
|
|
|
- // { template: false, offsetY: 0 }
|
|
|
|
|
- // )
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
getMonitorData() {
|
|
getMonitorData() {
|
|
|
graphicsLayer = new this.mars3d.layer.GraphicLayer()
|
|
graphicsLayer = new this.mars3d.layer.GraphicLayer()
|
|
@@ -530,11 +519,6 @@ export default {
|
|
|
兴平市团结采砂区: [108.360076, 34.20512, 100],
|
|
兴平市团结采砂区: [108.360076, 34.20512, 100],
|
|
|
兴平市汤坊龙兴1区采砂区: [108.474301, 34.21255, 100]
|
|
兴平市汤坊龙兴1区采砂区: [108.474301, 34.21255, 100]
|
|
|
}
|
|
}
|
|
|
- const lengthList = {
|
|
|
|
|
- 兴平市宜空采砂区: 300,
|
|
|
|
|
- 兴平市团结采砂区: 500,
|
|
|
|
|
- 兴平市汤坊龙兴1区采砂区: 600
|
|
|
|
|
- }
|
|
|
|
|
if (csqGraphicsLayer) {
|
|
if (csqGraphicsLayer) {
|
|
|
csqGraphicsLayer.show = true
|
|
csqGraphicsLayer.show = true
|
|
|
} else {
|
|
} else {
|
|
@@ -545,8 +529,8 @@ export default {
|
|
|
const graphic = new this.mars3d.graphic.BillboardEntity({
|
|
const graphic = new this.mars3d.graphic.BillboardEntity({
|
|
|
position: position,
|
|
position: position,
|
|
|
style: {
|
|
style: {
|
|
|
- image: require('@/assets/image/common/camera.png'),
|
|
|
|
|
- scale: 0.8,
|
|
|
|
|
|
|
+ image: require('@/assets/image/common/csq.png'),
|
|
|
|
|
+ scale: 1,
|
|
|
horizontalOrigin: this.Cesium.HorizontalOrigin.CENTER,
|
|
horizontalOrigin: this.Cesium.HorizontalOrigin.CENTER,
|
|
|
verticalOrigin: this.Cesium.VerticalOrigin.BOTTOM
|
|
verticalOrigin: this.Cesium.VerticalOrigin.BOTTOM
|
|
|
}
|
|
}
|