Class: CondMaxSpeed

(abstract) bemap.CondMaxSpeed(options)

Base class for conditional max speed.

Constructor

(abstract) new CondMaxSpeed(options)

Parameters:
Name Type Description
options object see below the available values.
Properties
Name Type Description
Type String NONE: No speed situation. - HAZMAT: Hazardous material. - TRAILER: Trailer. - WEIGHT: Weight. - WEATHER: Weather. - VEHICULE_TYPE: Vehicle type (transport type).
Value String | Int Condition value (see HAZMAT, WEATHER, WEIGHT: in tenths of tons, trailer: in number of trailers, vehicle type: a mask of transportation modes).
Speed Int The speed limit in kph.
Source:

Members

(protected) Speed :Int

Type:
  • Int
Source:

(protected) Type :String

Type:
  • String
Source:

(protected) Value :String|Int

Type:
  • String | Int
Source:

Methods

getSpeed() → {Int}

Get the speed conditional speed limit.
Source:
Returns:
Type
Int

getType() → {String}

Get the type of conditional max speed.
Source:
Returns:
Type
Type
String

getValue() → {String|Int}

Get the value of condition.
Source:
Returns:
Type
String | Int