Interface DistanceAndRoute

  • All Known Implementing Classes:
    DefaultDistanceAndRoute

    public interface DistanceAndRoute
    Wrapps a route and distance information between two points on the map.
    • Method Detail

      • getRoute

        Route getRoute()
        Get the route representation, which holds the start and destination and also all the implementation dependant data necessary to display a route on a map
        Returns:
        Route
      • getRoadDistance

        double getRoadDistance()
        Get road distance
        Returns:
        double
      • getEagleFliesDistance

        double getEagleFliesDistance()
        get distance in straight line.
        Returns:
        double