private void onDrawPolygon() { if (drawController.getController() != null) { btnPolygon.select(); } startDrawing(new PolygonDrawController(mapWidget, drawController, this)); }
private void onDrawLine() { if (drawController.getController() != null) { btnLine.select(); } startDrawing(new LineStringDrawController(mapWidget, drawController, this)); }