If outline is turned on… one observation is that the line segments of the polygon is following a great arc. The image seems to be stretched following the great arc… maybe (?).
If more interpolation is done and the polygon CZML has more points to have the segments follow constant lat/lon, one observation is the image is clipped.
If not, can you give me a little more information? I don’t see the image stretching you’re talking about. Here is a code sample. It’d be helpful if you could alter the positions to replicate the warping you’re seeing:
Hi, Hannah, Thanks again for the response! From the example below, if the polygon is not smaller than the image, it would crop it and not scale down the image. Is there a way for a polygon to follow constant lat/lon instead of a great arc?
var viewer = new Cesium.Viewer(‘cesiumContainer’);
var dataSource = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSource);
``
Seems like rectangle would be a good solution. Honestly, I didn’t know it was part of the czml schema. CZML Content Page, is this still where the schema is located? I don’t see rectangle part of it.
The solution for having it follow a constant lat/lon instead of a great arc would be to use a Rectangle instead.
I don’t think there’s a way to have either geometry type crop the image instead of scaling it though.
I’m surprised Rectangle isn’t documented on the CZML content page. That document is a work in progress though and is due for a major rewrite. I think other supported geometry types are missing from it also. The CZML sandcastle examples we added last year are a good way to see the different things you can do with CZML.