SegmentSpecification Class
SegmentSpecification Class
Contains the specification of one segment of a route; that is, from one waypoint up to, but not including, the subsequent waypoint. The SegmentSpecification object includes the beginning waypoint for the segment, route preference, and map view options.
Public Class SegmentSpecification Inherits System.Object
[C#]
public class SegmentSpecification : System.Object
Public Properties
Name | Description |
---|---|
Options | The route preference and map view options (SegmentOptions object) for the specified segment of the route. |
Waypoint | The waypoint (Waypoint object) for the route segment; that is, the beginning of the segment. |
Remarks
An array of SegmentSpecifications objects is used with the RouteSpecification.Segments property, which is passed to the RouteServiceSoap.CalculateRoute method.
MapPoint Web Service allows up to 50 waypoints per route.
See Also
SegmentOptions Class | Waypoint Class | RouteSpecification.Segments Property | RouteServiceSoap.CalculateRoute Method