您好,我这边测试没有问题,您可以确认下构造方式是否正确
var points2 = [
new SuperMap.Geometry.Point(-120, 54.142),
new SuperMap.Geometry.Point(-110, 40),
new SuperMap.Geometry.Point(-120, 25.857),
new SuperMap.Geometry.Point(-140, 25.857),
new SuperMap.Geometry.Point(-150, 40),
new SuperMap.Geometry.Point(-140, 54.142)
],
linearRings = new SuperMap.Geometry.LinearRing(points2),
region = new SuperMap.Geometry.Polygon([linearRings]);
let foramt=new SuperMap.Format.GeoJSON();
let string_fea=foramt.write(region);
console.log(string_fea,'string_fea')