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

线路围墙示例代码有BUG

Siwuji opened this issue · comments

问题描述

线路围墙示例代码配置有问题:
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]

屏幕截图或视频(可选)

1712796714952
1712796742382

补充说明(可选)

No response

hi @Siwuji, welcome!

透明度颜色的问题需要排查一下