Package aimax.osm.viewer

Examples of aimax.osm.viewer.MapViewFrame


  public RoutePlannerApp() {
    this(new String[0]);
  }
 
  public RoutePlannerApp(String[] args) {
    frame = new MapViewFrame(args);
    frame.setTitle("OSM Route Planner");
    routeCalculator = createRouteCalculator();
    JToolBar toolbar = frame.getToolbar();
    toolbar.addSeparator();
    waySelection = new JComboBox(routeCalculator.getWaySelectionOptions());
View Full Code Here


    // indicates progress when reading large maps (for testing only)
    // Logger.getLogger("aimax.osm").setLevel(Level.FINEST);
    // Logger.getLogger("").getHandlers()[0].setLevel(Level.FINE);
   
    Locale.setDefault(Locale.US);
    MapViewFrame frame = new MapViewFrame(args);
    frame.readMap(DataResource.getULMFileResource());
    frame.setTitle("OSM Viewer");
    frame.setSize(800, 600);
    frame.setVisible(true);
  }
View Full Code Here

  private JButton downButton;
  private JButton rightButton;
  protected JToggleButton nightButton;
 
  public OsmViewerPlusApp(String[] args) {
    frame = new MapViewFrame(args);
    frame.setTitle("OSM Viewer+");
   
    JToolBar toolbar = frame.getToolbar();
    toolbar.addSeparator();
    nightButton = new JToggleButton("Night Mode");
View Full Code Here

TOP

Related Classes of aimax.osm.viewer.MapViewFrame

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.