openlayers 根据中心点和半径得到实际距离的圆(平面)

在平面坐标系3857 下 使用 ol.geom.Circle(center,radiu) 绘制的圆会比实际测量小一圈, 这种情况下需要指定地球参数来获得准确的圆形: ol.geom.Polygon.circular(sphere, center, radius, opt_n)  其中sphere 为椭球半径 4326 坐标系的sphere 为 ol.Sphere(6378137)      cen
相关文章
相关标签/搜索