forked from github/dataease
fix(图表-流向地图): 修复流向地图,同样流向线的宽度,在不同线类型时,看起来宽度不一样的问题
This commit is contained in:
parent
5b006d56a0
commit
63e197b250
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user