Home > @magiclane/maps-sdk > TrafficService > removePersistentRoadblockById
TrafficService.removePersistentRoadblockById() method
Remove an user persistent roadblock identified by id
Signature:
static removePersistentRoadblockById(id: string): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
string |
The roadblock id as it was provided in addPersistentRoadblock function |
Returns:
GemError
GemError.success on success, GemError.notFound if the roadblock does not exist