使用产品:iMobile 11i
问题描述:我使用如下代码将geoline3D对象gl添加到创建的KML图层
private GeoLine3D gl;
private String layerKMlPath_c = android.os.Environment.getExternalStorageDirectory()
+ "/SuperMap/initKML/default.kml";
//调用代码
createFile(layerKMlPath_c);
scene.getLayers().addLayerWith(layerKMlPath_c,Layer3DType.KML,false,"轨迹路线");
Layer3D layer3d_c = scene.getLayers().get("轨迹路线");
Feature3D feature3D = new Feature3D();
feature3D.setGeometry(gl);
feature3D.toKMLFile(layerKMlPath_c);
layer3d_c.getFeatures().add(feature3D);
但是出现以下报错信息
请问我应该如何解决呢?