I am trying to animate a simple polygon, All I have achieved is just visualize it. I still do not know if its posible to define a polygon animation (translation) within the CZML.
This is my code, am I doing something wrong?
[
{
"id":"Dynamic Wall",
"name":"Dynamic Wall",
"description":"Dynamic Wall Description",
"parent":"Test Marker",
"availability" : "2014-05-30T08:00:00Z/2014-05-30T09:00:00Z",
"description":"<!--HTML-->\r\nDynamic wall animation",
"polygon": {
"material": {
"solidColor": {
"color": {
"rgba": [
0,
255,
0,
77
]
}
}
},
"show": true,
"extrudedHeight": 20,
"height": 11.01
},
"vertexPositions": {
"cartographicDegrees": [
-0.312865,39.430022,0.0,
-0.312875,39.430022,0.0,
-0.311593,39.428880,0.0,
-0.311583,39.428880,0.0,
-0.312865,39.430022,0.0
]
},
"position": {
"interpolationAlgorithm" : "LAGRANGE",
"epoch": "2014-05-30T08:00:00Z",
"cartographicDegrees": [
0.0, -0.313043, 39.429663, 5.0,
3600.0, -0.310482, 39.429422, 100.0
]
}
}
]
Thank you!