How to draw the polyline arrows by the czml?

Dear friend:
When I want to draw some PolylineArrow by czml,I have some problems.The code I have writen diden’t work.Could you help me to draw the arrows?I will be grateful to you.This is the code I write:

var czml = [

{

“id” : “document”,

“name” : “CZML Geometries: Polyline”,

“version” : “1.0”

},

{

“id” : “Line”,

“name” : “polylineArrow”,

“polyline” : {

“positions” : {

“cartographicDegrees” : [

120, 37, 0,

140, 37, 0

]

},

“material” : {

“PolylineArrow”:{

“solidColor”:

{

“color” :

{

“rgba” : [0, 0, 255, 255]

}

}

}

},

“width” : 10

}

},

];

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var dataSource = Cesium.CzmlDataSource.load(czml);

viewer.dataSources.add(dataSource);

Hello,

It looks like CzmlDataSource doesn’t currently have support for the polyline arrow material. I’ve submitted a pull request to add it here: https://github.com/AnalyticalGraphicsInc/cesium/pull/3860

It should be available in the May release.

Best,

Hannah

Hello,
I’m glad to hear that the czml polyline arrow material will be supported.I really extremely thank you that what you do for cesium.And if I want to use the arrow material now,what code should I change in the Cesium.js.The file"Cesium.js" I use is in “Build/CesiumUnminified/Cesium.js” .

Best,

Xin

在 2016年4月18日星期一 UTC+8下午10:24:05,Hannah Pinkos写道:

You’re welcome, Xin! Happy to help.
The code hasn’t been merged into master yet. You can check out this branch and build your own Cesium file: https://github.com/AnalyticalGraphicsInc/cesium/tree/czml-polylineArrow

Instructions for cloning the repository and building the code can be found here: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide

You will need to run the combine command to generate the Cesium.js file.

Best,

Hannah