diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 80ee010ff1..8c463de1ef 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -754,7 +754,7 @@ export default { color_simple: '简洁', not_alpha: '不透明度', area_border_color: '地图边线', - area_base_color: '底图', + area_base_color: '地图区块填充', size: '大小', bar_width: '柱宽', bar_gap: '柱间隔', diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue index 9c50a9278b..afa9b43ff5 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/BasicStyleSelector.vue @@ -585,6 +585,8 @@ onMounted(() => { /> + + { properties: EditorProperty[] = [...MAP_EDITOR_PROPERTY, 'bubble-animate'] propertyInner = { ...MAP_EDITOR_PROPERTY_INNER, - 'tooltip-selector': [...MAP_EDITOR_PROPERTY_INNER['tooltip-selector'], 'carousel'] + 'tooltip-selector': [...MAP_EDITOR_PROPERTY_INNER['tooltip-selector'], 'carousel'], + 'basic-style-selector': [...MAP_EDITOR_PROPERTY_INNER['basic-style-selector'], 'areaBaseColor'] } axis = MAP_AXIS_TYPE axisConfig: AxisConfig = { diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts index cb14b0dcb5..a78bc08842 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts @@ -46,7 +46,14 @@ export class Map extends L7PlotChartView { properties: EditorProperty[] = [...MAP_EDITOR_PROPERTY, 'legend-selector'] propertyInner: EditorPropertyInner = { ...MAP_EDITOR_PROPERTY_INNER, - 'basic-style-selector': ['colors', 'alpha', 'areaBorderColor', 'zoom', 'gradient-color'], + 'basic-style-selector': [ + 'colors', + 'alpha', + 'areaBorderColor', + 'areaBaseColor', + 'zoom', + 'gradient-color' + ], 'legend-selector': ['icon', 'fontSize', 'color'], 'tooltip-selector': [...MAP_EDITOR_PROPERTY_INNER['tooltip-selector'], 'carousel'] }