HERE Android SDK Developer's Guide

RouteIntersection

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

Class Summary

public final class RouteIntersection

extends java.lang.Object

This is the definition of the RouteIntersection class.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in RouteIntersection
Methods

public int getDistance ()

Gets the distance from the segment search started from to the intersection.

public GeoCoordinate getPosition ()

Gets the position of this intersection.

public int getRouteElementIndex ()

Gets the index of the route element before intersection

public java.util.List <RoadElement> getStreets ()

List of streets of the intersection.

Class Details

This is the definition of the RouteIntersection class. This class contains intersection on a route.

Method Details

public int getDistance ()

Gets the distance from the segment search started from to the intersection. The length of the first segment is included.

Returns:

The distance

public GeoCoordinate getPosition ()

Gets the position of this intersection.

Returns:

The position

public int getRouteElementIndex ()

Gets the index of the route element before intersection

Returns:

The index of the route element

public java.util.List <RoadElement> getStreets ()

List of streets of the intersection. Streets which belongs to the route are not included.

Returns:

The list of RoadElement objects

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.