Click or drag to resize

Telogis.GeoBase.Routing.TurnMovement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
TurnMovement Class

TurnMovement inherits from Routing.MovementEvent.

A wrapper class to be filled server-side that represents a turn movement.

Functions
NameDescription
getPrevLeft ()

Gets the name of the Routing.MovementEvent that occurs immediately on the left before the calling Routing.TurnMovement in the set of directions it belongs to.

Returns

String - The name of the previous left movement, or an empty string if none was available.

getPrevLeftCount ()

Gets the number of Routing.MovementEvents occurring on the left before the calling Routing.TurnMovement in the set of directions it belongs to.

Returns

Number - The number of previous movements on the left, or -1 if this value is unavailable.

getPrevRight ()

Gets the name of the Routing.MovementEvent that occurs immediately on the right before the calling Routing.TurnMovement in the set of directions it belongs to.

Returns

String - The name of the previous right movement, or an empty string if none was available.

getPrevRightCount ()

Gets the number of Routing.MovementEvents occurring on the right before the calling Routing.TurnMovement in the set of directions it belongs to.

Returns

Number - The number of previous movements on the right, or -1 if this value is unavailable.

isEndOfStreet ()

Tests whether the Routing.TurnMovement occurs at the end of a street.

Returns

Boolean - True if the turn-movement is at the end of a street; false otherwise.

isLeftTurn ()

Tests whether the Routing.TurnMovement represents a left turn.

Returns

Boolean - True if the turn-movement is a left turn; false otherwise.

isRightTurn ()

Tests whether the Routing.TurnMovement represents a right turn.

Returns

Boolean - True if the turn-movement is a right turn; false otherwise.