HERE Android SDK Developer's Guide

RouteElements

The class RouteElements is a member of com.here.android.mpa.routing .

Class Summary

public final class RouteElements

extends java.lang.Object

Holds the list of RouteElement objects obtained from the Route class.

[For complete information, see the section Class Details]

See also:

getRouteElements()

getRouteElements(Maneuver)

getRouteElementsFromDuration(long)

getRouteElementsFromDuration(long, long)

getRouteElementsFromLength(int)

getRouteElementsFromLength(int, int)

Method Summary

Table 1. Methods in RouteElements
Methods

public java.util.List <RouteElement> getElements ()

Returns the list of RouteElement.

public GeoPolyline getGeometry ()

Returns the GeoPolyline.

Class Details

Holds the list of RouteElement objects obtained from the Route class.

See also:

getRouteElements()

getRouteElements(Maneuver)

getRouteElementsFromDuration(long)

getRouteElementsFromDuration(long, long)

getRouteElementsFromLength(int)

getRouteElementsFromLength(int, int)

Method Details

public java.util.List <RouteElement> getElements ()

Returns the list of RouteElement.

Returns:

The list of RouteElement objects contained in this RouteElements object.

public GeoPolyline getGeometry ()

Returns the GeoPolyline. The points on the polyline represent the elements contained in this RouteElements .

Returns:

The GeoPolyline associated with this RouteElements object.