1. A concise explanation of the problem you’re experiencing.
I need to draw a line (path of polyline) BUT, paths won’t follow a great arc or clamp to ground and Polylines won’t draw over time. What is my solution?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
{
“id” : “1”,
“name” : “line 1”,
“availability” : “2012-08-04T10:00:00Z/2012-08-04T15:00:00Z”,
"path" : {
"material" : {
"polylineOutline" : {
"color" : {
"rgba" : [255, 0, 0, 255]
},
"outlineColor" : {
"rgba" : [255, 0, 0, 255]
},
"outlineWidth" : 10
}
},
"width" : 8,
"leadTime" : 10,
"trailTime" : 1000,
"resolution" : 5
},
"position" : {
"epoch" : "2012-08-04T10:00:00Z",
"cartographicDegrees" : [
10, -1.74, -3.02, 0,
100, 0.98, 1.74, 0,
]}
}
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
Need to draw a line between two points to improve customer experience.
4. The Cesium version you’re using, your operating system and browser.
1.47
1. A concise explanation of the problem you’re experiencing.
I need to draw a line (a path or polyline) over time. Paths dont follow the surface of the earth, and polylines can’t be drawn over time. What is my solution?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
{
“id” : “1”,
“name” : “line 1”,
“availability” : “2012-08-04T10:00:00Z/2012-08-04T15:00:00Z”,
"path" : {
"interpolationAlgorithm": "LAGRANGE",
"clampToGround" : true,
"zIndex" : 3,
"material" : {
"polylineOutline" : {
"color" : {
"rgba" : [255, 0, 0, 255]
},
"outlineColor" : {
"rgba" : [255, 0, 0, 255]
},
"outlineWidth" : 10
}
},
"width" : 8,
"leadTime" : 10,
"trailTime" : 1000,
"resolution" : 5
},
"position" : {
"epoch" : "2012-08-04T10:00:00Z",
"cartographicDegrees" : [
10, -1.74, -3.02, 1000,
100, 0.98, 1.74, 1000,
]}
}
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
animating a line drawn between two points.
4. The Cesium version you’re using, your operating system and browser.
1.47