if (layers.isEmpty()) return null;
return layers.get(0);
}
private BoundingXYVisitor getBoundingBox() {
BoundingXYVisitor v = "problem".equals(mode) ? new ValidatorBoundingXYVisitor() : new BoundingXYVisitor();
switch(mode) {
case "problem":
TestError error = Main.map.validatorDialog.getSelectedError();
if (error == null) return null;