栅格瓦片类型图层对应的请求无法自定义请求头参数
Dreammy23 opened this issue · comments
问题描述
type 为 'image' 类型中设置 credentials: 'include' 可以生效
type 为 'raster' 或 'rasterTile' 类型,在 parser 中设置 credentials: 'include' 无效
parser: {
type: 'raster',
requestParameters: {
credentials: 'include'
}
}
重现链接
No response
重现步骤
No response
预期行为
希望 RasterLayer 也可以透传 自定义的请求头参数
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
屏幕截图或视频(可选)
在两个demo中同样设置 credentials: 'include'
补充说明(可选)
No response