Package org.geomajas.plugin.printing.configuration

Examples of org.geomajas.plugin.printing.configuration.DefaultConfigurationVisitor


    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;
  }
View Full Code Here

TOP

Related Classes of org.geomajas.plugin.printing.configuration.DefaultConfigurationVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.