168 Star 1.1K Fork 278

GVPantv / L7

 / 详情

高德3D图层被L7.LineLayer覆盖

待办的
创建于  
2020-05-20 10:15

高德3D图层被L7.LineLayer覆盖
代码如下
const scene = new L7.Scene({
id: 'container',
map: new L7.GaodeMap({
mapInstance: map,
}),
});
scene.on('loaded', function () {
const layer = new L7.LineLayer({zIndex:0})
.source(lineLayerData)
.size(1.5)
.shape('line')
.color('#25d8b7')
.animate({
interval: 1, // 间隔
duration: 1, // 持续时间,延时
trailLength: 2 // 流线长度
});
layer.style({
opacity: 0.5,
});
scene.addLayer(layer);
})

效果:
输入图片说明

评论 (1)

luguanghui 创建了任务
luguanghui 关联仓库设置为antv/L7
luguanghui 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
TypeScript
1
https://gitee.com/antv/L7.git
git@gitee.com:antv/L7.git
antv
L7
L7

搜索帮助