Milestone.withType constructor
- int sectionIndex,
- int? waypointIndex,
- GeoCoordinates? originalCoordinates,
- GeoCoordinates mapMatchedCoordinates,
- MilestoneType type,
Creates a new instance.
sectionIndexIndex of the section on the route.waypointIndexIf 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.originalCoordinatesUser-defined geographic coordinates. If not available, this waypoint was added during route calculation.mapMatchedCoordinatesMap-matched geographic coordinates.typeType of this Milestone
Implementation
Milestone.withType(this.sectionIndex, this.waypointIndex, this.originalCoordinates, this.mapMatchedCoordinates, this.type);