I have polyline with 3 points.
The two line created are quite close to each other.
Near the second point, the line are almost disappear.
Any Idea?
Example that can be copied to Sandcastle:
var czml = [{
"id" : "document",
"name" : "CZML Geometries: Polyline",
"version" : "1.0"
}, {
"id" : "redLine",
"polyline" : {
"positions" : {
"cartographicDegrees" : [
35.097, 32.938, 0,
35.066935, 32.919731, 0,
35.096, 32.939, 0,
]
},
"width" : 2,
"clampToGround" : false
}
}];
var viewer = new Cesium.Viewer('cesiumContainer');
var dataSource = new Cesium.CzmlDataSource();
viewer.dataSources.add(dataSource);
dataSource.process(czml);
viewer.zoomTo(dataSource.entities.getById('redLine'));
Thanks in advance, Eitan