javascript arcgis 取区域中心点

javascript arcgis 取区域中心点

//graphic是绘制完多边形之后返回的对象  
//获得多边形的中心点坐标
var centerPoint=graphic.geometry.getExtent().getCenter();  



原文地址:https://www.cnblogs.com/chenghu/p/9087051.html