forked from github/dataease
refactor(视图-流向地图): 修改部分默认属性
This commit is contained in:
parent
f859ed0872
commit
2fe860a19f
@ -140,12 +140,12 @@ export const DEFAULT_SIZE = {
|
||||
hPosition: 'center',
|
||||
vPosition: 'center',
|
||||
mapPitch: 0,
|
||||
mapLineType: 'line',
|
||||
mapLineType: 'arc',
|
||||
mapLineWidth: 1,
|
||||
mapLineAnimate: true,
|
||||
mapLineAnimateDuration: 4,
|
||||
mapLineAnimateInterval: 0.5,
|
||||
mapLineAnimateTrailLength: 0.1
|
||||
mapLineAnimateDuration: 3,
|
||||
mapLineAnimateInterval: 1,
|
||||
mapLineAnimateTrailLength: 1
|
||||
}
|
||||
export const DEFAULT_SUSPENSION = {
|
||||
show: true
|
||||
|
@ -55,8 +55,8 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) {
|
||||
.animate({
|
||||
enable: size.mapLineAnimate,
|
||||
duration: size.mapLineAnimateDuration,
|
||||
interval: size.mapLineAnimateInterval,
|
||||
trailLength: size.mapLineAnimateTrailLength
|
||||
interval: 1,
|
||||
trailLength: 1
|
||||
})
|
||||
if (color.mapLineGradient) {
|
||||
lineLayer.style({
|
||||
|
@ -1306,7 +1306,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimate')"
|
||||
v-show="false"
|
||||
:label="$t('chart.map_line_animate')"
|
||||
class="form-item"
|
||||
>
|
||||
@ -1330,7 +1330,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimateInterval')"
|
||||
v-show="false"
|
||||
:label="$t('chart.map_line_animate_interval')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1343,7 +1343,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimateTrailLength')"
|
||||
v-show="false"
|
||||
:label="$t('chart.map_line_animate_trail_length')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1427,8 +1427,7 @@ export default {
|
||||
lineTypeOptions: [
|
||||
{ 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_3d'), value: 'arc3d' },
|
||||
{ name: this.$t('chart.map_line_type_great_circle'), value: 'greatcircle' }
|
||||
{ name: this.$t('chart.map_line_type_arc_3d'), value: 'arc3d' }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user