HERE Android SDK Developer's Guide

RouteElement

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

Class Summary

public final class RouteElement

extends java.lang.Object

Represents an element within a Route.

[For complete information, see the section Class Details]

See also:

Route

Maneuver

Nested Class Summary

Table 1. Nested Classes in RouteElement
Nested Classes

public static final enumeration RouteElement.Type

Represents values describing the possible types of a RouteElement.

Method Summary

Table 2. Methods in RouteElement
Methods

public java.util.List <GeoCoordinate> getGeometry ()

Returns the geometry of the route element.

public RoadElement getRoadElement ()

Returns the RoadElement associated with this RouteElement.

public Type getType ()

Gets the type of the RouteElement

Class Details

Represents an element within a Route. Please note that RouteElements are also associated with Maneuver instances within a Route .

See also:

Route

Maneuver

Method Details

public java.util.List <GeoCoordinate> getGeometry ()

Returns the geometry of the route element. The geometry is a returned as a list of GeoCoordinate that can be used to create a polyline.

Returns:

a list of GeoCoordinate

public RoadElement getRoadElement ()

Returns the RoadElement associated with this RouteElement. Each route element has an associated road element.

Returns:

the associated RoadElement.

public Type getType ()

Gets the type of the RouteElement

Returns:

type of the RouteElement

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.