ArcGIS for Android 如何将经纬度坐标转换成投影坐标

来源:互联网 发布:常州同济中学网络平台 编辑:程序博客网 时间:2024/05/22 12:54


下面是实现将经纬度坐标转换成投影坐标的方法

                                                                double locy = loc.getLatitude();

double locx = loc.getLongitude();
Point wgspoint = new Point(locx, locy);
Point mapPoint = (Point) GeometryEngine
.project(wgspoint,
SpatialReference.create(4326),
map.getSpatialReference());
原创粉丝点击