How to use supermap 3d webgl

0 投票
97 浏览
I'm new to supermap,How to setup 3dwebgl there is no npm.I downloaded the supermap iclient 3dwebgl and when iam trying to execute the sample examples in the build i,m getting errors why is this so.

'DeveloperError: net error or the scp url error,please check the network and make sure the url is ok Error'
最新提问 8月 9 分类:  97次浏览 | 用户: san (0 分)

1个回答

3 投票

This error is probably caused by no network. Most of the services, especially those 3D tiles cache services, are online services. Therefore, if your PC cannot connect to internet, you would encounter this error.

You can simply check 'config.js' (examples\js\config.js) to find the required url.

By the way, if you won't connect to internet, you can download an iServer on official website. And the following steps are like these:

1. unzip the iServer

2. copy webgl under iServer\webapps

3. run iServer\bin\startup.bat to launch the server

4. visit the sample url like http://localhost:8090/WebGL_EN/examples/examples.html

then you can check the samples and enjoy webgl 3D.

最新回答 8月 10 用户: 张阳名 登峰造极 (5,124 分)
...