We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
按照官网的文档,无法给linelayer设置模糊
No response
const drawWall = async (scene: Scene) => { const JsonData = await (await fetch("/map/china-margin.json")).json(); const layer = new LineLayer({ autoFit: true }) .shape("line") .source(JsonData) .size(1.2) .color("#59C9D7") .style({ blur: [1, 1, 1] }); // .animate(true); scene.addLayer(layer); };
Linux nailao-PC 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
hi @WutangNailao, welcome!
Sorry, something went wrong.
Hi @WutangNailao, Please star this repo if you find it useful! Thanks ⭐! 你好 @WutangNailao。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!
这个配置blur: [1, 1, 1]哪里看到的?
blur: [1, 1, 1]
fetch( 'https://gw.alipayobjects.com/os/bmw-prod/55304d8d-4cb0-49e0-9d95-9eeacbe1c80a.json', ) .then((res) => res.json()) .then((data) => { const blurLine = new LineLayer() .source(data) .size(5) .style({ opacity: 0.8, sourceColor: '#f00', targetColor: '#ff0', linearDir: 'horizontal', }); scene.addLayer(blurLine); });
lzxue
No branches or pull requests
问题描述
按照官网的文档,无法给linelayer设置模糊
重现链接
No response
重现步骤
const drawWall = async (scene: Scene) => {
const JsonData = await (await fetch("/map/china-margin.json")).json();
const layer = new LineLayer({
autoFit: true
})
.shape("line")
.source(JsonData)
.size(1.2)
.color("#59C9D7")
.style({
blur: [1, 1, 1]
});
// .animate(true);
scene.addLayer(layer);
};
预期行为
No response
平台
Linux nailao-PC 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
屏幕截图或视频(可选)
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: