SegmentOptions Class
SegmentOptions Class
Contains the preferences for how the route and map views are calculated for the specified segment.
Public Class SegmentOptions Inherits System.Object
[C#]
public class SegmentOptions : System.Object
Public Properties
Name | Description |
---|---|
CalculateDirectionMapView | Indicates whether map view representations (MapViewRepresentations object) for each direction within the specified route segment should be generated when a route is calculated. Default is True. If True, map view representations are generated. |
CalculateSegmentMapView | Indicates whether map view representations (MapViewRepresentations object) for the specified route segment should be generated when a route is calculated. Default is True. If True, map view representations are generated. |
Preference | Indicates whether the route segment is calculated using the quickest route, the shortest route, or by using the preferences specified in the PreferredRoadTypes class. |
Remarks
- The SegmentOptions object is passed in the SegmentSpecification.Options property when calling the RouteServiceSoap.CalculateRoute method.
See Also
MapViewRepresentations Class | SegmentPreference Enumeration | SegmentSpecification.Options Property | RouteServiceSoap.CalculateRoute Method