fo.close();
}
private DefaultConfigurationVisitor getDefaultVisitor(double x, double y, float widthInUnits) {
// 842, 595
DefaultConfigurationVisitor config = new DefaultConfigurationVisitor();
config.setApplicationId("application");
config.setMapId("mainMap");
config.setMapRasterResolution(72);
config.setMapPpUnit(822 / widthInUnits);
config.setMapLocation(new Coordinate(x, y));
config.setTitle("Africa");
return config;
}