Package 

Class RouteLine

  • All Implemented Interfaces:

    
    public final class RouteLine
    
                        

    A data structure that combines a Route with its rendering options. Use the Builder pattern to create instances.

    • Constructor Detail

    • Method Detail

      • getRoute

         final Route getRoute()

        The route to be added to the map. This is required.

      • getStyleWithTraffic

         final Boolean getStyleWithTraffic()

        Denote whether or not to use traffic information to style the route accordingly. Default is true

      • getUnreachableEdgeIndex

         final RouteEdgeIndex getUnreachableEdgeIndex()

        Mark the index that describes the point on the route which the destination will be unreachable NOTE: Out of range meaning the vehicle is out of fuel/electricity

      • getFirstRouteEdge

         final RouteEdgeIndex getFirstRouteEdge()

        Indicates the first edge index of the route. If set this value, the edge before first edge will be drawn as trace style

      • getDistinguishRouteLegColors

         final Boolean getDistinguishRouteLegColors()

        True to enable waypoint-based route coloring; false to use the default single-color rendering. Default is false.