Click or drag to resize

Telogis.GeoBase.Routing.VehicleType

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

Describes a type of vehicle. When applied to a route as a vehicle specification, routes suitable for the specified vehicle type will be generated. For example, Emergency vehicles will be routed using emergency vehicle lanes and directions; and Taxi, CarPool and Bus vehicle types will be routed along suitable restricted traffic lanes where available.

JavaScript
// Create a new vehicle specifications object
var VehSpec = new Telogis.GeoBase.Routing.VehicleSpec();

// Set the vehicle type (tractor semi trailer)
VehSpec.VehicleType = Telogis.GeoBase.Routing.VehicleType.TractorSemiTrailer;

// Apply the VehicleSpec to a route --
// Routes will now be generated that are legal for the vehicle type
myRoute.setVehicleSpec(VehSpec);
Properties
NameTypeDescription
AllNumber

All vehicles

AllButEmergencyNumber

Any vehicle, except for an emergency vehicle

AutoNumber

Automobile

BusNumber

Bus

CarPoolNumber

Car-pooling vehicle

DefaultNumber

No specific vehicle type has been set. When applied to a Route, a VehicleType of Auto will actually be used.

EmergencyNumber

Emergency vehicle

IntermediateDoubleNumber

An intermediate-length truck with two trailers

LongDoubleNumber

A long truck with two trailers

OtherLCVNumber

Other light commercial vehicle

StandardDoubleNumber

A truck with two trailers

StraightTruckNumber

Straight truck (as opposed to a tractor/trailer combination)

TaxiNumber

Taxi

TractorSemiTrailerNumber

A tractor with a single trailer

TripleNumber

A truck with three trailers

TruckNumber

Truck, combination of the different truck types

UnknownNumber

No information about this vehicle is available