# 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:
  - bemap-model/bemap-condMaxSpeed.js, line 21

### Members

#### (protected) Speed :Int

##### Type:

- Int

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 40

#### (protected) Type :String

##### Type:

- String

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 28

#### (protected) Value :String|Int

##### Type:

- String | Int

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 34

### Methods

#### getSpeed() → {Int}

Get the speed conditional speed limit.

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 63

##### Returns:

Type
  Int

#### getType() → {String}

Get the type of conditional max speed.

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 47

##### Returns:

Type

Type
  String

#### getValue() → {String|Int}

Get the value of condition.

Source:
  - bemap-model/bemap-condMaxSpeed.js, line 55

##### Returns:

Type
  String | Int