首页 / 浏览问题 / 移动GIS / 问题详情
android打开球面场景提示java.lang.RuntimeException: ugcValue Enum值错误
12EXP 2024年08月22日
打开球面场景异常,提示如下错误,使用的是imobileV1111版本  制作的工作空间使用的桌面版本:11.1.0.230714.8995 x64(SuperMap iObjects Java:11.1.0.103928)
                                                                                                   ugcValue  Enum值错误
                                                                                                        at com.supermap.data.Enum.parse(Enum.java:149)
                                                                                                        at com.supermap.realspace.Layer3Ds.resetLayer3DsArr(Layer3Ds.java:56)
                                                                                                        at com.supermap.realspace.Layer3Ds.<init>(Layer3Ds.java:43)
                                                                                                        at com.supermap.realspace.Layer3Ds.createInstance(Layer3Ds.java:134)
                                                                                                        at com.supermap.realspace.Scene.getLayers(Scene.java:281)
                                                                                                        at com.supermap.realspace.Scene.fromXML(Scene.java:458)
                                                                                                        at com.supermap.realspace.Scene$1.run(Scene.java:507)
                                                                                                        at android.os.Handler.handleCallback(Handler.java:942)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                        at android.os.Looper.loopOnce(Looper.java:211)
                                                                                                        at android.os.Looper.loop(Looper.java:300)
                                                                                                        at com.supermap.realspace.SceneControl$RenderThread.run(SceneControl.java:777)

1个回答

您好,请问那边加载的是平面场景还是球面场景,scenecontrol默认加载球面场景,如果是平面场景需要在打开场景前使用

SceneControl.sceneType=SceneType.ST_NONEARTH设置场景类型为平面场景
3,690EXP 2024年08月23日
场景是球面的
已经解决了,是因为在球面场景中加载了一个二维的图层导致的问题
...