首页 / 浏览问题 / WebGIS / 问题详情
addVectorTilesMap()获取header对象
2EXP 2021年11月09日
使用:SuperMap_iClient3D_10i(2020)_for_WebGL_2109291134
你好,现在执行viewer.scene.addVectorTilesMap() 加载矢量服务 ,会先请求  /GetCapabilities获取xml数据,现在这个请求需要在header里面加token用来身份验证,请问怎么能获取到 请求(/GetCapabilities) xml数据的header对象,

1个回答

你好, addVectorTilesMap() 支持设置自定义请求头,设置方法参考博客:https://blog.csdn.net/supermapsupport/article/details/112268815

6,077EXP 2021年11月09日
...