antvis / L7

🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis engine.

Home Page:https://l7.antv.antgroup.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

栅格瓦片类型图层对应的请求无法自定义请求头参数

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'
image

image

补充说明(可选)

No response

already fixed.
fix: 修复rastertile类型对应请求无法自定义请求头参数 #2399