L7 icon indicating copy to clipboard operation
L7 copied to clipboard

线路围墙示例代码有BUG

Open Siwuji opened this issue 10 months ago • 2 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

Siwuji avatar Apr 11 '24 00:04 Siwuji

hi @Siwuji, welcome!

github-actions[bot] avatar Apr 11 '24 00:04 github-actions[bot]

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

lzxue avatar Apr 30 '24 06:04 lzxue