码迷,mamicode.com
首页 > 其他好文 > 详细

arcgis andriod GeometryEngine使用

时间:2017-10-10 16:47:04      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:hat   arc   nio   使用   color   cti   andriod   ==   enc   

 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使用

标签:hat   arc   nio   使用   color   cti   andriod   ==   enc   

原文地址:http://www.cnblogs.com/gisoracle/p/7645702.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!