DirectionsFactoryAddMovement Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Use to add departure, turns and arrival points to the directions.
Namespace:
Telogis.GeoBase.Routing
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public void AddMovement(
int startIndex,
int endIndex,
MovementType type,
MovementInfo info
)
Public Sub AddMovement (
startIndex As Integer,
endIndex As Integer,
type As MovementType,
info As MovementInfo
)
Parameters
- startIndex
- Type: SystemInt32
The index to the LatLon array for the start point of the movement - endIndex
- Type: SystemInt32
The index to the LatLon array for the end point of the movement - type
- Type: Telogis.GeoBase.RoutingMovementType
The MovementType describing the type of movement that a direction encompasses - info
- Type: Telogis.GeoBase.RoutingMovementInfo
The MovementInfo for this movement (that is, between startIndex and endIndex)
Remarks The startIndex can not be greater than the endIndex. However, the startIndex can be equal to the endIndex. For example, when
the movement is a straightforward right turn, there will only be one turn point, located at the turn's intersection.
The first movement must have a MovementType of Depart
The final movement must have a MovementType of Arrive
See Also