HERE Android SDK Developer's Guide

RoadInfo

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

Class Summary

public static class RouteWaypoint.RoadInfo

extends java.lang.Object

Exposes additional information about RouteWaypoint, mainly the side of the road it's on.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in RoadInfo
Nested Classes

public static final enumeration RouteWaypoint.RoadInfo.RoadSide

Represents side of the road, used to indicate position relative to a road, according to travel direction.

Method Summary

Table 2. Methods in RoadInfo
Methods

public GeoCoordinate getMatchedCoordinate ()

Gets waypoint coordinates matched to the route.

public RoadSide getRoadSide ()

Gets road side of associated route waypoint.

Class Details

Exposes additional information about RouteWaypoint, mainly the side of the road it's on. This information is populated during route calculation.

Method Details

public GeoCoordinate getMatchedCoordinate ()

Gets waypoint coordinates matched to the route.

Returns:

matched position

public RoadSide getRoadSide ()

Gets road side of associated route waypoint.

Returns:

which side of the road the waypoint is on