Search in sources :

Example 1 with GenerateElement

use of org.activityinfo.legacy.shared.command.GenerateElement in project activityinfo by bedatadriven.

the class MgMapIntegrationTest method generateMap.

private void generateMap(MapLayer layer, String fileName) throws IOException {
    map = new MapReportElement();
    map.addLayer(layer);
    content = (MapContent) execute(new GenerateElement(map));
    renderToFile(map, fileName);
}
Also used : MapReportElement(org.activityinfo.legacy.shared.reports.model.MapReportElement) GenerateElement(org.activityinfo.legacy.shared.command.GenerateElement)

Aggregations

GenerateElement (org.activityinfo.legacy.shared.command.GenerateElement)1 MapReportElement (org.activityinfo.legacy.shared.reports.model.MapReportElement)1