第一种: 能够正常显示
var pointlist = [
new SuperMap.Geometry.Point(12526886.3372, 3236654.1740000015),
new SuperMap.Geometry.Point(12526953.7166, 3236949.7830999997),
new SuperMap.Geometry.Point(12527026.4168, 3237155.9672999997)
];
第二种: 完全不能正常显示
var pointlist = [];
var datas = [{ point_x: 12526886.3372, point_y: 236654.1740000015 }, { point_x: 12526953.7166, point_y: 3236949.7830999997 }, { point_x: 12527026.4168, point_y: 3237155.9672999997 }]
for (var points = 0; points < datas .length;points++) {
pointlist.push( new SuperMap.Geometry.Point(datas[points]["point_x"], datas[points]["point_y"]));
}
这是为什么原因啊