1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| import { useI18n } from '@/hooks/web/useI18n'
|
| const { t } = useI18n()
|
| export const MAP_EDITOR_PROPERTY: EditorProperty[] = [
| 'background-overall-component',
| 'border-style',
| 'basic-style-selector',
| 'title-selector',
| 'label-selector',
| 'tooltip-selector',
| 'function-cfg',
| 'map-mapping',
| 'jump-set',
| 'linkage'
| ]
|
| export const MAP_EDITOR_PROPERTY_INNER: EditorPropertyInner = {
| 'background-overall-component': ['all'],
| 'border-style': ['all'],
| 'basic-style-selector': ['colors', 'alpha', 'areaBorderColor', 'zoom'],
| 'title-selector': [
| 'title',
| 'fontSize',
| 'color',
| 'hPosition',
| 'isItalic',
| 'isBolder',
| 'remarkShow',
| 'fontFamily',
| 'letterSpace',
| 'fontShadow'
| ],
| 'label-selector': [
| 'color',
| 'fontSize',
| 'labelBgColor',
| 'labelShadow',
| 'labelShadowColor',
| 'showDimension',
| 'showQuota'
| ],
| 'tooltip-selector': ['color', 'fontSize', 'backgroundColor', 'seriesTooltipFormatter', 'show'],
| 'function-cfg': ['emptyDataStrategy'],
| 'map-mapping': ['']
| }
|
| export const MAP_AXIS_TYPE: AxisType[] = [
| 'xAxis',
| 'yAxis',
| 'area',
| 'drill',
| 'filter',
| 'extLabel',
| 'extTooltip'
| ]
|
| export const gaodeMapStyleOptions = [
| { name: t('chart.map_style_normal'), value: 'normal' },
| { name: t('chart.map_style_darkblue'), value: 'darkblue' },
| { name: t('chart.map_style_light'), value: 'light' },
| { name: t('chart.map_style_dark'), value: 'dark' },
| { name: t('chart.map_style_fresh'), value: 'fresh' },
| { name: t('chart.map_style_grey'), value: 'grey' },
| { name: t('chart.map_style_blue'), value: 'blue' },
| { name: t('commons.custom'), value: 'custom' }
| ]
|
| export const tdtMapStyleOptions = [
| { name: t('chart.map_style_normal'), value: 'normal' },
| { name: t('chart.map_style_dark'), value: 'black' },
| { name: t('chart.map_style_darkblue'), value: 'indigo' }
| ]
|
| export const qqMapStyleOptions = [
| { name: t('chart.map_style_normal'), value: 'normal' },
| { name: t('commons.custom'), value: 'custom' }
| ]
|
| export declare type MapMouseEvent = MouseEvent & {
| feature: GeoJSON.Feature
| }
|
|