fix(图表-流向地图): 修复流向地图,同样流向线的宽度,在不同线类型时,看起来宽度不一样的问题

This commit is contained in:
jianneng-fit2cloud 2024-07-01 16:53:40 +08:00
parent 5b006d56a0
commit 63e197b250

View File

@ -57,7 +57,7 @@ export class FlowMap extends L7ChartView<Scene, L7Config> {
}
const flowLineStyle = {
type: miscStyle.mapLineType,
size: miscStyle.mapLineWidth,
size: miscStyle.mapLineType === 'line' ? miscStyle.mapLineWidth / 2 : miscStyle.mapLineWidth,
animate: miscStyle.mapLineAnimate,
animateDuration: miscStyle.mapLineAnimateDuration,
gradient: miscStyle.mapLineGradient,