1. A concise explanation of the problem you're experiencing.
i am not able find exact calculation to find line of sight calculation from one latitude and longitude with human vision over buildings
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
code-------------------
var theta=360 ; //bearing in degre
var R= 5000 ; // distance in meters
for(var i=0;i<=theta;i++){
var dx1 = R * Math.cos(i) ;
console.log("dx=="+dx1);
var dy1 = R * Math.sin(i);
console.log("dy=="+dy1);
var delta_longitude1 = dx1/(111320*Math.cos(42.25732445310803));
console.log(delta_longitude1);
var delta_latitude1 = dy1/110540;
console.log(delta_latitude1);
Final_longitude1 = longitude + delta_longitude1;
Final_latitude1 = latitude + delta_latitude1;
var value=longitude+","+latitude+","+height+","+Final_longitude1+","+Final_latitude1+","+height;
var arr=[value];
var res = value.split(",");
glowingLine = viewer.entities.add({
name : 'Glowing blue line on the surface',
polyline : {
//positions : Cesium.Cartesian3.fromDegreesArray(res),
positions : Cesium.Cartesian3.fromDegreesArrayHeights(res),
width : 1,
material : Cesium.Color.ORANGE.withAlpha(0.5),
}
});