Milestone (API Reference)
Package com.here.sdk.navigation
Class Milestone
java.lang.Object
com.here.sdk.navigation.Milestone
Represents information about the waypoints along the route.
Note that this can include additional waypoints added during route calculation that may not have been part of the original user-defined waypoint list. For example, additional waypoints are added automatically between sections that require a different transport mode like when taking a ferry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap-matched geographic coordinates.User-defined geographic coordinates.intIndex of the section on the route.Type of this MilestoneIf present, this index corresponds to the waypoint in the original user-defined waypoint list. -
Constructor Summary
ConstructorsConstructorDescriptionMilestone(int sectionIndex, Integer waypointIndex, GeoCoordinates originalCoordinates, GeoCoordinates mapMatchedCoordinates, MilestoneType type) Creates a new instance. -
Method Summary
-
Field Details
-
sectionIndex
public int sectionIndexIndex of the section on the route.
-
waypointIndex
If present, this index corresponds to the waypoint in the original user-defined waypoint list. Otherwise this waypoint was added during route calculation by the system.
-
originalCoordinates
User-defined geographic coordinates. If not available, this waypoint was added during route calculation.
-
mapMatchedCoordinates
Map-matched geographic coordinates.
-
type
Type of this Milestone
-
-
Constructor Details
-
Method Details