var data={};

                                                         for(var i=0;i<result.length;i++){

                                                              data[(""+result[i].name+"")]=eval("("+result[i].location+")");
}

geoCoord:{'Islands':[113.95, 22.26]}

geoCoord是一个obj,Islands类型也是obj,[113.95, 22.26]是数组,要将json种取出的数组转换成对应的格式

https://github.com/ecomfe/echarts/issues/611

05-07 00:11