Class of suitable parameters type of roads taken into account during the routes calculating
| EMAPI. | Class of suitable parameters type of roads taken into account during the routes calculating |
| Properties | |
| roadType | {String} Type of road. |
| use | {Boolean} Information about using the type of road in the route calculating (default is true). |
| speed | {Float} The average speed in km/h passing the type of the road (default 0). |
| combustion | {Float} The average fuel consumption in l/100km while travelling routes of a given type (default 0). |
| toll | {Float} Cost of viaTOLL per km. |
| Functions | |
| EMAPI. | The constructor of a new instance of EMAPI.Router.RoadParams class. |
| destroy | Destroys an object of EMAPI.Router.RoadParams class. |
Destroys an object of EMAPI.Router.RoadParams class.
destroy: function()