Commit aee019ebcd05a6510b9eeaf87dbf4c7d22bb5ec5

Authored by liuqimichale
1 parent 9b743db8

first

Showing 1 changed file with 2 additions and 1 deletions
js/pagejs/index.js
... ... @@ -303,7 +303,7 @@
303 303 echarts.registerMap('银川', yCjson);
304 304 var chart = echarts.init(document.getElementById('map_c_echart'));
305 305  
306   - option = {
  306 + var option = {
307 307  
308 308 visualMap: {
309 309 show: false,
... ... @@ -322,6 +322,7 @@
322 322 },
323 323 series:[
324 324 {
  325 + zoom:1.3,//当前视角的缩放比例。
325 326 name:'犯罪数量',
326 327 type:'map',
327 328 map:'银川',
... ...