StaticpersistentSet persistent roadblocks listener
The listener to be set
StaticpersistentStaticpreferencesGets access to the traffic service preferences.
The traffic service preferences
StatictransferGets data transfer statistics for this service.
The data transfer statistics
StaticaddAdd a user persistent anti-area roadblock to collection.
The roadblock parameters.
The geographic area not affected by the roadblock, i.e. the anti-area (world wide - area) is the roadblock.
The roadblock expire time.
The user roadblock id. Can be used to get / delete a defined roadblock.
The roadblock start time.
The transport mode for which the roadblock applies.
The TrafficEvent object and GemError.success if successful, or null with error code if failed.
StaticaddAdd a user persistent roadblock to collection (area impact zone type).
The roadblock parameters.
The geographic area affected by the roadblock.
The roadblock expire time.
The user roadblock id. Can be used to get / delete a defined roadblock.
The roadblock start time.
The transport mode for which the roadblock applies.
The TrafficEvent object and GemError.success if successful, or null with error code if failed.
StaticaddAdd a user persistent roadblock to collection (path impact zone type).
If params.coords size == 1, a point located roadblock is defined - this may result in 2 real roadblocks for matched road both ways.
If params.coords size > 1, a path located roadblock is defined - this will result in 1 map roadblock in start -> end way.
The roadblock parameters.
The roadblock coordinates list.
The roadblock expire time.
The user roadblock id. Can be used to get / delete a defined roadblock.
The roadblock start time.
The transport mode for which the roadblock applies.
The TrafficEvent object and GemError.success if successful, or null with error code if failed.
StaticgetGets the online traffic service restrictions for the given position
The position
The online traffic service restrictions
StaticgetGet an user persistent roadblock identified by id
The roadblock id as it was provided in addPersistentRoadblock function
The roadblock if found, null otherwise
StaticgetGet persistent roadblock path preview.
The preview parameters.
The previous defined coordinates in roadblock path from where to start the preview.
The movable coordinate in roadblock path to where the preview ends.
The transport mode.
A tuple containing: the coordinates list preview of the roadblock path, the next roadblock point match suggestion, and the error code.
StaticremoveRemove all user persistent roadblock
StaticremoveRemove an user persistent roadblock identified by a reference coordinate ( for path impact zone type )
The roadblock start coordinates. Must be equal with first coordinate in coords list provided when the roadblock was defined
GemError.success on success, GemError.notFound if the roadblock does not exist
StaticremoveRemove an user persistent roadblock identified by id
The roadblock id as it was provided in addPersistentRoadblock function
GemError.success on success, GemError.notFound if the roadblock does not exist
StaticremoveRemove an user roadblock ( persistent or non-persistent )
The roadblock to be removed
Traffic service. Adds support to update traffic information.