This constructor allows you to provide the information for the routeSegment.
Parameters
featureId
Type:String
Description:This parameter is the feature ID of the routeSegment. It is an identity of a single routeSegment, thus you cannot set the feature ID to two or more routeSegments.
routeSegmentType
Type:Int32
Description:This parameter specifies the type of routeSegment. You can define a value that represents kind of routeSegment, for example: 0 represents a local routeSegment, 1 represents a major routeSegment, 2 represents a highway.
weight
Type:Single
Description:This parameter is the weight of the routeSegment. It can represent, for example, the routeSegment length.