Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TurnMovement

Represents the movement describing how to maneuver a turn.

Hierarchy

Implements

Index

Constructors

constructor

Properties

currentStreet

currentStreet: string

The name of the street that the vehicle is currently on, before the turn.

destinationStreetName

destinationStreetName: string

The name of the street to turn onto in this movement.

endPointIndex

endPointIndex: number

The index of the end point, where the driving action is complete.

instructions

instructions: string

The full driving instruction as a string.

intersectionType

intersectionType: string

The type of intersection where the turn movement should occur. For a u-turn the intersection type is a u-turn.

isEndOfStreet

isEndOfStreet: boolean

Whether or not this is the end of a dead-end street.

isUTurn

isUTurn: boolean

Whether or not this turn is a u-turn.

movementType

movementType: Array<string>

The type of driving action, e.g. turn or arrive.

previousIntersectionType

previousIntersectionType: string

The type of intersection preceding the intersection where the turn movement should occur. This is used for complex turns, e.g. where two intersections are close together.

previousLeftStreetName

previousLeftStreetName: string

The name of the street that is off to the left before the turn.

previousRightStreetName

previousRightStreetName: string

The name of the street that is off to the right before the turn.

previousStreetName

previousStreetName: string

The name of the street that is off to the left or right before the turn. This is used in the directions to say e.g. "Turn left after Main Street."

startPointIndex

startPointIndex: number

The index of the starting point, where the driving action should occur.

turnDirection

turnDirection: string

The direction to turn, either left, right, or none.

turnNumber

turnNumber: string

The number of the turn, e.g. 2 for the second turn.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.Routing.TurnMovement"

Methods

toString

  • toString(): string
  • Returns the driving instructions as a human-readable string.

    Returns string

Generated using TypeDoc