扩散光波二维显示
This commit is contained in:
@ -2949,7 +2949,7 @@ class BillboardObject extends Base {
|
||||
let goodsHtml = ''
|
||||
let richTextHtml = ''
|
||||
for (let i = 0; i < this.options.attribute.link.content.length; i++) {
|
||||
linkHtml += `<DIV-cy-tab-pane label="${this.options.attribute.link.content[i].name}"><iframe width='100%' height='100%' src="${this.options.attribute.link.content[i].url}" sandbox="allow-scripts allow-same-origin"></iframe></DIV-cy-tab-pane>`
|
||||
linkHtml += `<DIV-cy-tab-pane label="${this.options.attribute.link.content[i].name}"><iframe width='100%' height='100%' src="${this.options.attribute.link.content[i].url}" ></iframe></DIV-cy-tab-pane>`
|
||||
}
|
||||
if (this.options.attribute.goods && this.options.attribute.goods.content && this.options.attribute.goods.content.length > 0) {
|
||||
goodsHtml += `<DIV-cy-tab-pane label="物资">
|
||||
|
@ -181,7 +181,7 @@ class CircleDiffuse extends Base {
|
||||
}
|
||||
that.sdk._entityZIndex++
|
||||
if (that.sdk.viewer._element.className === 'cesium-viewer 2d') {
|
||||
that.entity.ellipse.height = 1000000
|
||||
that.entity.ellipse.height = 1
|
||||
}
|
||||
CircleDiffuse.createLabel(that)
|
||||
syncData(that.sdk, that.options.id)
|
||||
|
@ -1384,10 +1384,10 @@ class CurvelineObject extends Base {
|
||||
that.options.lengthByMeter = res
|
||||
that.lengthUnit = that.options['length-unit']
|
||||
syncData(that.sdk, that.options.id)
|
||||
})
|
||||
if (that.options.show) {
|
||||
setSplitDirection(0, that.options.id)
|
||||
}
|
||||
})
|
||||
|
||||
// if (this.options['nose-to-tail']) {
|
||||
// let array = []
|
||||
|
@ -1410,10 +1410,10 @@ class PolylineObject extends Base {
|
||||
that.options.lengthByMeter = res
|
||||
that.lengthUnit = that.options['length-unit']
|
||||
syncData(that.sdk, that.options.id)
|
||||
})
|
||||
if (that.options.show) {
|
||||
setSplitDirection(0, that.options.id)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
// if (this.options['nose-to-tail']) {
|
||||
|
@ -138,7 +138,7 @@ class RadarScan extends Base {
|
||||
})
|
||||
that.sdk._entityZIndex++
|
||||
if (that.sdk.viewer._element.className === 'cesium-viewer 2d') {
|
||||
that.entity.ellipse.height = 1000000
|
||||
that.entity.ellipse.height = 1
|
||||
}
|
||||
RadarScan.createLabel(that)
|
||||
syncData(that.sdk, that.options.id)
|
||||
|
@ -50,7 +50,8 @@ export default class CircleDiffuseMaterialProperty {
|
||||
let color = this.colors[ratio[i]]
|
||||
_sourceColor = _sourceColor + `
|
||||
if(dis < float(${Number(ratio[i]) / 2})) {
|
||||
material.diffuse = 1.5 * vec4(${color.red},${color.green},${color.blue},${color.alpha}).rgb;
|
||||
material.diffuse = vec4(0.0,0.0,0.0,0.0).rgb;
|
||||
material.emission = 1.0 * vec4(${color.red},${color.green},${color.blue},${color.alpha}).rgb;
|
||||
}
|
||||
`
|
||||
}
|
||||
|
Reference in New Issue
Block a user