我正在尝试为我的目的改编一个 CZML 示例。更改所有要求后,我开始在本地计算机上运行它,但它没有运行。
它只有一部分正在运行,例如当我使用 czml 作为标签时,它正在运行。这是那个的代码
{
"id":"/Application/STK/Scenario/simple/Facility/AGI",
"label":{
"fillColor":{
"rgba":[
0,255,255,255
]
},
"font":"10pt Lucida Console",
"horizontalOrigin":"LEFT",
"outlineColor":{
"rgba":[
0,0,0,255
]
},
"pixelOffset":{
"cartesian2":[
12.0,0.0
]
},
"scale":1.0,
"show":true,
"style":"FILL",
"text":"AGI",
"verticalOrigin":"CENTER"
},
"position":{
"cartesian":[
1216469.9357990976,-4736121.71856379,4081386.8856866374
]
}
}
但我也想在同一个地方显示一个图像,然后它没有运行,也没有给出任何错误代码。这是代码:
{
"id":"Headquarters",
"availability" : "2013-11-08T09:00:00Z/2013-11-09T17:04:54.9962195740191Z",
"billboard":{
"color":{
"rgba":[
0,255,255,255
]
},
"horizontalOrigin":"LEFT",
"image":"localhost//Cesium-b19/Apps/Sandcastle/images/DownArrow.png",
"scale":1.0,
"show":true,
"verticalOrigin":"CENTER"
},
"position":{
"epoch" : "2013-11-08T09:00:00Z",
"cartesian":[
1216469.9357990976,-4736121.71856379,4081386.8856866374
]
}
}
我的代码发生了什么?