电力发光纹理
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
options |
object |
入参对象
|
Example:
let lon = 104;
let lat = 30;
viewer.entities.add({
polyline: {
positions: Cesium.Cartesian3.fromDegreesArrayHeights([
lon - 0.2 + 0.6, lat, 0.0,
lon + 0.2 + 0.6, lat, 0.0,
]),
width: 200.0,
material: new GisEye.GisEyeElectroLight2MaterialProperty({
color: new Cesium.Color(1.70, 1.48, 1.78, 1.0)
})
}
});
viewer.entities.add({
polyline: {
positions: Cesium.Cartesian3.fromDegreesArrayHeights([
lon - 0.2 + 0.6, lat-0.1, 0.0,
lon + 0.2 + 0.6, lat-0.1, 0.0,
]),
width: 200.0,
material: new GisEye.GisEyeElectroLight2MaterialProperty({
color: new Cesium.Color(1.0, 1.48, 1.78, 1.0)
})
}
});