Package aimax.osm.routing

Examples of aimax.osm.routing.RouteCalculator


  /**
   * Factory method for the routing component.
   * Subclasses can override it and provide more advanced routing algorithms.
   */
  protected RouteCalculator createRouteCalculator() {
    return new RouteCalculator();
  }
View Full Code Here


    locator = new GpsLocator();
    locator.addGpsPositionListener(new MyGpsPositionListener());
    routeCalculator = (RouteCalculator) createComponent(
        ROUTECALCULATOR_CLASS_PROPERTY, RouteCalculator.class);
    if (routeCalculator == null)
      routeCalculator = new RouteCalculator();

    JToolBar toolbar = frame.getToolbar();
    gpsCombo = new JComboBox(new String[] { "GPS Off", "GPS On",
        "GPS Center", "GPS Cen+Log", "Read Log" });
    gpsCombo.addActionListener(this);
View Full Code Here

TOP

Related Classes of aimax.osm.routing.RouteCalculator

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.