Hi,
I apologize if this is a trivial question but I'm having trouble getting my CZML polygon to display and am curious what I'm missing?
My CZML looks like :
[{ "id": "FirstPolygon", "polygon": { "vertexPositions" : { "cartographicDegrees": [-72.0, 40.0, 0.0, -70.0, 35.0, 0.0, -75.0, 30.0, 0.0, -70, 30, 0.0, -68.0, 40, 0.0] } }}]
I have two main lines that I thought was display the polygon in my Cesium globe.
Cesium.processCzml(czml, dynamicObjectCollection, url);
var dynamicVisualizer = new Cesium.DynamicPolygonVisualizer(scene, dynamicObjectCollection);
where 'scene' is predefined to refer to the currently displayed globe, and the 'url' is a web service call that retrieves the CZML referenced above.
What am I missing?
Thanks in advance for any responses.
- PC