下面是实现将经纬度坐标转换成投影坐标的方法
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());
下面是实现将经纬度坐标转换成投影坐标的方法
double locy = loc.getLatitude();
double locx = loc.getLongitude();