您的位置:首页 > 移动开发 > Android开发

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

2012-06-20 15:54 429 查看
下面是实现将经纬度坐标转换成投影坐标的方法

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());
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: