欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

超图几何图形 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);

 

https://www.supermap.com/EN/online/iClient%206R/iClient%206R%20for%20JavaScript/apidoc/files/SuperMap/Geometry/Polygon-js.html

相关标签: SuperMap.Geometry