var data = [
{ "x":"106.553344" , "y":"29.559184" },
{ "x":"113.667179" , "y":"34.749967" },
{ "x":"116.404" , "y": "39.915" }];

var pos= new Array(); //拆分的数组
var postion=new Array(); //最后的位置数组


function exchange( data ){

$.each(data,function(n,value) {
pos[n]=value;
});


for(var i=0;i<pos.length;i++){
var xx=pos[i].x;
var yy=pos[i].y;

postion[i]= new BMap.Point(xx,yy);//最后的位置数组

}
}