We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b93a8f8 commit 5fe8ceeCopy full SHA for 5fe8cee
1 file changed
examples/maplibregl/echarts_pie.html
@@ -49,7 +49,7 @@
49
var url = host + '/iserver/services/map-china400/rest/maps/China_4326';
50
var chart,
51
div,
52
- popup = '';
+ popup = '', categoryDataMap, dataMap;
53
var map = new maplibregl.Map({
54
container: 'map',
55
style: {
@@ -87,7 +87,7 @@
87
const image = await map.loadImage('../img/marker-icon.png');
88
map.addImage('positionPoint', image.data);
89
90
- var categoryDataMap = {
+ categoryDataMap = {
91
北京市: [
92
{ value: 335, name: resources.text_class + 'A' },
93
{ value: 679, name: resources.text_class + 'B' },
@@ -104,7 +104,7 @@
104
{ value: 875, name: resources.text_class + 'C' }
105
]
106
};
107
- var dataMap = {
+ dataMap = {
108
109
{ value: 335, name: resources.text_commodity + 'A' },
110
{ value: 310, name: resources.text_commodity + 'B' },
0 commit comments