超图几何图形 SuperMap.Geometry
程序员文章站
2022-04-02 17:02:02
...
1,SuperMap.Geometry.Polygon
var points =[new SuperMap.Geometry.Point(0,4010338),
new SuperMap.Geometry.Point(1063524,4010338),
new SuperMap.Geometry.Point(1063524,3150322),
new SuperMap.Geometry.Point(0,3150322)
],
linearRings = new SuperMap.Geometry.LinearRing([points]),
region = new SuperMap.Geometry.Polygon([linearRings]);
2,SuperMap.Geometry.Point
var point = new SuperMap.Geometry.Point(-111.04, 45.68);