arcgis andriod GeometryEngine使用

Posted gisoracle

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了arcgis andriod GeometryEngine使用相关的知识,希望对你有一定的参考价值。

 intersectionMenuItem.setChecked(true);
      showGeometry(GeometryEngine.intersection(inputPolygon1, inputPolygon2));
      return true;
    }
    else if (itemId == R.id.action_union) {
      unionMenuItem.setChecked(true);
      showGeometry(GeometryEngine.union(inputPolygon1, inputPolygon2));
      return true;
    }
    else if (itemId == R.id.action_difference) {
      differenceMenuItem.setChecked(true);
      // note that the difference method gives different results depending on the order of input geometries
      showGeometry(GeometryEngine.difference(inputPolygon1, inputPolygon2));
      return true;
    }
    else if (itemId == R.id.action_symmetric_difference) {
      symmetricDifferenceMenuItem.setChecked(true);
      showGeometry(GeometryEngine.symmetricDifference(inputPolygon1, inputPolygon2));

 

以上是关于arcgis andriod GeometryEngine使用的主要内容,如果未能解决你的问题,请参考以下文章

arcgis andriod 长按获得当前信息

andriod arcgis保存Mapview为图片

arcgis andriod Edit features

arcgis andriod GeometryEngine使用

arcgis andriod 点击后变色

andriod arcgis createPolygons创建带空的面