let endpts = [] //坐标点集合
const polygon = new Polygon({
rings: endpts,
});
let centerPoint = polygon.centroid
arcgis for js 4.x获取多边形中心点
最新推荐文章于 2024-04-26 15:41:32 发布
let endpts = [] //坐标点集合
const polygon = new Polygon({
rings: endpts,
});
let centerPoint = polygon.centroid