var vector = new SuperMap.Layer.Vector("vector");
var points=new Array();
points.push(new SuperMap.Geometry.Point(data[i].LON,data[i].LAT))
var line = new SuperMap.Geometry.LinearRing(points);
var lineVector = new SuperMap.Feature.Vector(line);
lineVector.style={
strokeColor:"red",
fill:false,
strokeWidth:2};
vector.addFeatures(lineVector);
map.addLayer(vector);
通过坐标点绘制一个多边形,如果计算多边形的中心点。有没有具体的算法