Commit cc3f472f by 韩艳丽

流向地图 部分参数调整 线动画

parent 0e043abb
...@@ -61,8 +61,8 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) { ...@@ -61,8 +61,8 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) {
.animate({ .animate({
enable: size.mapLineAnimate, enable: size.mapLineAnimate,
duration: size.mapLineAnimateDuration, duration: size.mapLineAnimateDuration,
interval: 1, interval: size.mapLineAnimateInterval,
trailLength: 1 trailLength: size.mapLineAnimateTrailLength
}) })
if (color.mapLineGradient) { if (color.mapLineGradient) {
lineLayer.style({ lineLayer.style({
......
...@@ -1330,7 +1330,7 @@ ...@@ -1330,7 +1330,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="false" v-show="true"
:label="$t('chart.map_line_animate_interval')" :label="$t('chart.map_line_animate_interval')"
class="form-item form-item-slider" class="form-item form-item-slider"
> >
...@@ -1343,7 +1343,7 @@ ...@@ -1343,7 +1343,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="false" v-show="true"
:label="$t('chart.map_line_animate_trail_length')" :label="$t('chart.map_line_animate_trail_length')"
class="form-item form-item-slider" class="form-item form-item-slider"
> >
...@@ -1427,7 +1427,8 @@ export default { ...@@ -1427,7 +1427,8 @@ export default {
lineTypeOptions: [ lineTypeOptions: [
{ name: this.$t('chart.map_line_type_line'), value: 'line' }, { name: this.$t('chart.map_line_type_line'), value: 'line' },
{ name: this.$t('chart.map_line_type_arc'), value: 'arc' }, { name: this.$t('chart.map_line_type_arc'), value: 'arc' },
{ name: this.$t('chart.map_line_type_arc_3d'), value: 'arc3d' } { name: this.$t('chart.map_line_type_arc_3d'), value: 'arc3d' },
{ name: this.$t('chart.map_line_type_great_circle'), value: 'greatcircle' }
] ]
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论