我想在铯地图界面中添加图标以绘制点。目前,我正在执行以下代码,但希望将下面的内容替换为实际的图标。我一直在浏览铯文档,找不到能做到这一点的任何东西。感谢您的任何建议
var points = scene.primitives.add(new Cesium.PointPrimitiveCollection());
points.add({
position : new Cesium.Cartesian3.fromDegrees(longitude, latitude),
color : colorDot,
outlineColor : Cesium.Color.WHITE,
outlineWidth : width
});
Run Code Online (Sandbox Code Playgroud) 如果我创建一个名为temp.bat的批处理脚本(例如),其中包含:
exit /b 1
Run Code Online (Sandbox Code Playgroud)
当我以各种方式运行它时,我的32位XP系统与64位XP系统的行为不同.
在32位:
> temp.bat
> echo %ERRORLEVEL%
1
> cmd /c temp.bat
> echo %ERRORLEVEL%
0
Run Code Online (Sandbox Code Playgroud)
在64位:
> temp.bat
> echo %ERRORLEVEL%
1
> cmd /c temp.bat
> echo %ERRORLEVEL%
1
Run Code Online (Sandbox Code Playgroud)
我搜索了cmd.exe选项,但我无法找到任何控制它如何从批处理脚本传播错误级别信息的选项.在这一点上,我无法找到任何合理的解释.