Home > @magiclane/maps-sdk > RouteTrafficEvent
RouteTrafficEvent class
Route traffic events class
Signature:
export declare class RouteTrafficEvent extends TrafficEvent Extends: TrafficEvent
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| number | Get the distance in meters from starting point on current route of the traffic event to the destination. | |
| Get the route traffic event start point. | ||
| { first: Landmark; second: boolean; } | Gets the traffic event start point as landmark. | |
| Get the route traffic event end point. | ||
| { first: Landmark; second: boolean; } | Gets the traffic event end point as landmark. |
Methods
Method | Modifiers | Description |
|---|---|---|
Update the local data needed for 'from' and 'to' landmarks address and description. | ||
Cancel the update request. | ||
|