接此文;
https://blog.csdn.net/bcbobo21cn/article/details/109441803
下载插件安装;
安装完之后,从realspace点进去,出来的是这些;不知道是啥;
然后看一下超图的下载列表;有两种iClient3D客户端;下载下来看一下;
不知道这二者有何区别;来看一下;
看一下webGL这个,里面有很多例子;
我的超图服务是iserver8C;先启动;
打开webGL例子看一下;例子都有下图错误;
超图的地球可以出来;
An error occurred while rendering. Rendering has stopped.
SecurityError: Failed to construct 'Worker': Script at 'file:///D:/GIS%E8%BD%AF%E4%BB%B6/SuperMap_iClient3D_8C(2017)_for_WebGL/Build/Cesium/Workers/cesiumWorkerBootstrapper.js' cannot be accessed from origin 'null'.
Error: Failed to construct 'Worker': Script at 'file:///D:/GIS%E8%BD%AF%E4%BB%B6/SuperMap_iClient3D_8C(2017)_for_WebGL/Build/Cesium/Workers/cesiumWorkerBootstrapper.js' cannot be accessed from origin 'null'.
at m (eval at <anonymous> (file:///D:/GIS%E8%BD%AF%E4%BB%B6/SuperMap_iClient3D_8C(2017)_for_WebGL/Build/Cesium/Cesium.js:1:1), <anonymous>:1:198295)
错误大意说,当渲染时发生错误;渲染停止;
后面的没时间看,只能了解超图的webGL API是基于 Cesium 的;
看另一个下载的客户端;里面有setup.exe,运行;如下;
安装完,可能要重启iServer服务;重启一下; 里面有demo,打开;
出来一个地球;别的一堆还不了解;
然后这里面还有例子代码;第一个应该是浏览三维场景;
我电脑不好;如下;也许你们电脑可以打开;