Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

线路围墙示例代码有BUG #2396

Open
Siwuji opened this issue Apr 11, 2024 · 2 comments
Open

线路围墙示例代码有BUG #2396

Siwuji opened this issue Apr 11, 2024 · 2 comments
Assignees

Comments

@Siwuji
Copy link

Siwuji commented Apr 11, 2024

问题描述

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

Copy link
Contributor

hi @Siwuji, welcome!

@lzxue
Copy link
Contributor

lzxue commented Apr 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants