Home > @magiclane/maps-sdk > Route
Route class
Signature:
export declare class Route extends RouteBase Extends: RouteBase
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Get extra metadata attached to the route. | |||
| boolean | Check if route is an Electric Vehicle Route. | |
| boolean | Check if route is an Over-Track Route. | |
| boolean | Check if route is a Public Transport Route. | |
| any[] | Get toll sections of the route. |
Methods
Method | Modifiers | Description |
|---|---|---|
Checks whether this route is equal to another route. Compares this route's internal representation with another Route instance. | ||
Convert this Route to an OTRoute if it is an over-track route. | ||
Convert this Route to a PTRoute if it is a public transport route. |