map
This commit is contained in:
parent
636dc67cd9
commit
1ccc1f0717
|
@ -557,9 +557,9 @@ function InitMap(currentOption){
|
||||||
geo: {
|
geo: {
|
||||||
map: 'china',
|
map: 'china',
|
||||||
left: '140',
|
left: '140',
|
||||||
right: '10%',
|
right: '15%',
|
||||||
center: [99.98561551896913, 33.205000490896193],
|
center: [99.98561551896913, 33.205000490896193],
|
||||||
zoom: 0.6,
|
zoom:0.8,
|
||||||
label: {
|
label: {
|
||||||
emphasis: {
|
emphasis: {
|
||||||
show: false
|
show: false
|
||||||
|
@ -703,7 +703,7 @@ function InitMap(currentOption){
|
||||||
};
|
};
|
||||||
const container = document.querySelector('#maps');
|
const container = document.querySelector('#maps');
|
||||||
var myChart = echarts.init(container);
|
var myChart = echarts.init(container);
|
||||||
|
myChart.clear();
|
||||||
myChart.setOption(option,true);
|
myChart.setOption(option,true);
|
||||||
myChart.on('brushselected', renderBrushed);
|
myChart.on('brushselected', renderBrushed);
|
||||||
// myChart.on('focusnodeadjacency', renderFocusNodeJacency);
|
// myChart.on('focusnodeadjacency', renderFocusNodeJacency);
|
||||||
|
|
Loading…
Reference in New Issue