diff --git a/js/pagejs/index.js b/js/pagejs/index.js index 6fcf900..b778894 100644 --- a/js/pagejs/index.js +++ b/js/pagejs/index.js @@ -303,7 +303,7 @@ echarts.registerMap('银川', yCjson); var chart = echarts.init(document.getElementById('map_c_echart')); - option = { + var option = { visualMap: { show: false, @@ -322,6 +322,7 @@ }, series:[ { + zoom:1.3,//当前视角的缩放比例。 name:'犯罪数量', type:'map', map:'银川',