Home > @magiclane/maps-sdk > TrafficService
TrafficService class
Traffic service. Adds support to update traffic information.
Signature:
export declare class TrafficService Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Set persistent roadblocks listener | ||
|
|
Get all persistent user roadblocks | ||
|
|
Gets access to the traffic service preferences. | ||
|
|
Gets data transfer statistics for this service. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Add a user persistent anti-area roadblock to collection. | |
|
|
Add a user persistent roadblock to collection (area impact zone type). | |
|
|
Add a user persistent roadblock to collection (path impact zone type). If | |
|
|
Gets the online traffic service restrictions for the given position | |
|
|
Get an user persistent roadblock identified by id | |
|
|
Get persistent roadblock path preview. | |
|
|
Remove all user persistent roadblock | |
|
|
Remove an user persistent roadblock identified by a reference coordinate ( for path impact zone type ) | |
|
|
Remove an user persistent roadblock identified by id | |
|
|
Remove an user roadblock ( persistent or non-persistent ) |