| initialBounds.width,
initialBounds.height);
resultObjects.add(clone);
}
AddObjectsEdit edit = new AddObjectsEdit((ObjectGroup) getCurrentLayer(),resultObjects.toArray(new MapObject[0]));
edit.execute(null,null);
addEdit(edit);
mapView.redraw();
} catch (CloneNotSupportedException e) {
// Shouldn't happen
e.printStackTrace();
|