Share via


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
public propertyCalculateDirectionMapView

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.

public propertyCalculateSegmentMapView

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.

public propertyPreference

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

See Also

  MapViewRepresentations Class   |   SegmentPreference Enumeration   |   SegmentSpecification.Options Property   |   RouteServiceSoap.CalculateRoute Method