arcgis for android经纬度坐标转换成投影坐标

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

 double locy = loc.getLatitude();spa

double locx = loc.getLongitude();
Point wgspoint = new Point(locx, locy);
Point mapPoint = (Point) GeometryEngine
.project(wgspoint,
SpatialReference.create(4326),
map.getSpatialReference());