获取中心点
let teo=draw[i].geometry;
let zxd=teo.getCentroid() //中心点
本文介绍如何在编程中使用Letto库获取draw[i]对象的几何图形的中心点,通过getCentroid()函数实现坐标计算,适合前端或GIS开发者了解坐标系操作。
获取中心点
let teo=draw[i].geometry;
let zxd=teo.getCentroid() //中心点
403

被折叠的 条评论
为什么被折叠?