I want to draw a rectangle along with the path of my model. How can i rotate my rectangle or have an any idea ?
My rectangle
and this is i want to draw.
viewer.entities.add({
parent : rec,
rectangle: {
coordinates: Cesium.Rectangle.fromDegrees(
bl_long,
bl_lat,
tr_long,
tr_lat,
),
material: Cesium.Color.RED.withAlpha(0.5),
},
});