【发布时间】:2012-07-16 13:20:51
【问题描述】:
我在 Android 应用程序中使用 ArcGIS API。我以前使用过 Google API。在 Google API 中可以进行投影计算,如下所示:
Projection projection = map.getProjection();
Point p = new Point();
projection.toPixels(gp, p);//gp is a geoPoint computed earlier.
问题:ArcGIS API 中是否有类似的东西?
我在 ArcGIS 文档中看到了 GeometryEngine.project(point p, spatialReference sr1, spatialReference sr2) 方法。但不确定如何使用它来获得与上述类似的计算。我应该使用什么空间参考来获取像素坐标?
【问题讨论】:
标签: android map arcgis map-projections