首页 / 浏览问题 / 三维GIS / 问题详情
webGL支持iServer的token吗
581EXP 2019年09月03日
iServer发布的地图服务设置了权限token,然后webGL就加载不了地图了,请问webGL如何通过iServer的token验证?

二维地图leaflet和openlayers通过token验证能正常加载。

1个回答

您好,webgl是支持token验证的。可以通过Cesium.Credential(value, name)来进行验证。

相关的API地址:http://support.supermap.com.cn:8090/webgl/Build/Documentation/Credential.html?classFilter=Credential

您也可以在本地示例中查看有关token的示例

6,215EXP 2019年09月04日
...