RouteMatchedLocation (API Reference)
Package com.here.sdk.navigation
Class RouteMatchedLocation
java.lang.Object
com.here.sdk.navigation.RouteMatchedLocation
Represents a location matched to a specific position on a navigation route.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintZero-based index of the route section containing this location.intZero-based index of the geometry vertex that precedes this location.intZero-based index of the span within the current route section.doubleDistance in meters from the beginning of the current span to this location. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sectionIndex
public int sectionIndexZero-based index of the route section containing this location.
-
spanIndex
public int spanIndexZero-based index of the span within the current route section.
-
spanOffsetInMeters
public double spanOffsetInMetersDistance in meters from the beginning of the current span to this location.
-
spanGeometryVertexIndex
public int spanGeometryVertexIndexZero-based index of the geometry vertex that precedes this location.
The span geometry is represented as a series of vertices. This index points to the vertex immediately before the matched location, allowing for interpolation between vertices if needed.
-
-
Constructor Details
-
RouteMatchedLocation
public RouteMatchedLocation()Creates a new instance.
-
-
Method Details