线路围墙示例代码有BUG
Siwuji opened this issue · comments
思无及 commented
问题描述
线路围墙示例代码配置有问题:
const layer = new LineLayer({})
.source(data)
.size(40)
.shape('wall')
.style({
opacity: 1,
sourceColor: '#0DCCFF',
targetColor: 'rbga(255,255,255, 0)'
});
targetColor写成rbga了,改成rgba的话围墙无法识别颜色,只能为黑色,且不管sourceColor(起点颜色)如何配置,围墙颜色都是黑色
重现链接
No response
重现步骤
No response
预期行为
修复BUG
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
屏幕截图或视频(可选)
补充说明(可选)
No response
github-actions commented
hi @Siwuji, welcome!
@thinkinggis commented
透明度颜色的问题需要排查一下