Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f9b7466f
authored
2023-02-17 16:49:51 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:地图
1 parent
9aa814ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
21 deletions
src/components/Echart/Map/Chart.vue
src/components/Echart/Map/Chart.vue
View file @
f9b7466
...
...
@@ -49,19 +49,6 @@ export default {
宁强县
:
[
106.25958
,
32.82881
,
20
],
略阳县
:
[
106.15399
,
33.33009
,
20
],
};
let
convertData
=
function
(
data
)
{
let
scatterData
=
[];
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
var
geoCoord
=
geoCoordMap
[
data
[
i
].
name
];
if
(
geoCoord
)
{
scatterData
.
push
({
name
:
data
[
i
].
name
,
value
:
geoCoord
.
concat
(
data
[
i
].
value
),
});
}
}
return
scatterData
;
};
this
.
options
=
{
showLegendSymbol
:
true
,
tooltip
:
{
...
...
@@ -131,14 +118,7 @@ export default {
shadowBlur
:
1
,
borderColor
:
'rgb(155, 200, 200)'
,
shadowColor
:
'#44f2fc'
,
},
// emphasis: {
// areaColor: '#4f7fff',
// borderColor: 'rgba(0,242,252,.5)',
// borderWidth: 2,
// shadowBlur: 10,
// shadowColor: '#00f2fc',
// },
}
},
label
:
{
formatter
:
params
=>
{
...
...
Please
register
or
sign in
to post a comment