|
@@ -2609,14 +2609,18 @@ let app = new Vue({
|
|
name: k,
|
|
name: k,
|
|
geoIndex: 0
|
|
geoIndex: 0
|
|
})
|
|
})
|
|
- }
|
|
|
|
- for (var k in geoCoordMap) {
|
|
|
|
that.shanxiMap.dispatchAction({
|
|
that.shanxiMap.dispatchAction({
|
|
// type: 'geoUnSelect',
|
|
// type: 'geoUnSelect',
|
|
type: 'downplay',
|
|
type: 'downplay',
|
|
name: k,
|
|
name: k,
|
|
seriesName: params.seriesName
|
|
seriesName: params.seriesName
|
|
})
|
|
})
|
|
|
|
+ that.shanxiMap.dispatchAction({
|
|
|
|
+ // type: 'geoUnSelect',
|
|
|
|
+ type: 'downplay',
|
|
|
|
+ name: k,
|
|
|
|
+ seriesName: 'series\u00001'
|
|
|
|
+ })
|
|
}
|
|
}
|
|
that.shanxiMap.dispatchAction({
|
|
that.shanxiMap.dispatchAction({
|
|
// type: 'geoSelect',
|
|
// type: 'geoSelect',
|
|
@@ -2630,6 +2634,12 @@ let app = new Vue({
|
|
name: params.name,
|
|
name: params.name,
|
|
seriesName: params.seriesName
|
|
seriesName: params.seriesName
|
|
})
|
|
})
|
|
|
|
+ that.shanxiMap.dispatchAction({
|
|
|
|
+ // type: 'geoSelect',
|
|
|
|
+ type: 'highlight',
|
|
|
|
+ name: params.name,
|
|
|
|
+ seriesName: 'series\u00001'
|
|
|
|
+ })
|
|
return `<div class="bgTooltip" style="background: url('../img/shanxi/${params.name}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
|
|
return `<div class="bgTooltip" style="background: url('../img/shanxi/${params.name}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
|
|
<div class="flex items-center">
|
|
<div class="flex items-center">
|
|
<img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
|
|
<img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
|