コード例 #1
0
 private void processReceivedPoints(List<LatLng> points) {
   switch (surveyFragment.getPathToDraw()) {
     case MISSION:
       drone.mission.addWaypointsWithDefaultAltitude(points);
       break;
     case POLYGON:
       polygon.addPoints(points);
       surveyFragment.generateGrid();
       break;
     default:
       break;
   }
   update();
 }
コード例 #2
0
 @Override
 public void onClearPolygon() {
   polygon.clearPolygon();
   update();
 }