forked from github/dataease
refactor(图表): 地图中心点默认值和文案修改
This commit is contained in:
parent
60bdc03bef
commit
f7b90fd648
@ -1542,7 +1542,8 @@ export default {
|
||||
show_label: '显示标签',
|
||||
security_code: '安全密钥',
|
||||
auto_fit: '自适应缩放',
|
||||
zoom_level: '缩放等级'
|
||||
zoom_level: '缩放等级',
|
||||
central_point: '中心点'
|
||||
},
|
||||
dataset: {
|
||||
scope_edit: '仅编辑时生效',
|
||||
|
@ -663,7 +663,7 @@ onMounted(() => {
|
||||
<el-form-item
|
||||
class="form-item"
|
||||
:class="'form-item-' + themes"
|
||||
:label="t('chart.longitude')"
|
||||
:label="t('chart.central_point') + t('chart.longitude')"
|
||||
>
|
||||
<el-input-number
|
||||
controls-position="right"
|
||||
@ -679,7 +679,7 @@ onMounted(() => {
|
||||
<el-form-item
|
||||
class="form-item"
|
||||
:class="'form-item-' + themes"
|
||||
:label="t('chart.latitude')"
|
||||
:label="t('chart.central_point') + t('chart.latitude')"
|
||||
>
|
||||
<el-input-number
|
||||
controls-position="right"
|
||||
|
@ -1590,8 +1590,8 @@ export const DEFAULT_BASIC_STYLE: ChartBasicStyle = {
|
||||
mapStyleUrl: '',
|
||||
autoFit: true,
|
||||
mapCenter: {
|
||||
longitude: 116,
|
||||
latitude: 39
|
||||
longitude: 117.232,
|
||||
latitude: 39.354
|
||||
},
|
||||
zoomLevel: 7
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user