コード例 #1
0
 private void onDrawPolygon() {
   if (drawController.getController() != null) {
     btnPolygon.select();
   }
   startDrawing(new PolygonDrawController(mapWidget, drawController, this));
 }
コード例 #2
0
 private void onDrawLine() {
   if (drawController.getController() != null) {
     btnLine.select();
   }
   startDrawing(new LineStringDrawController(mapWidget, drawController, this));
 }