Home > @magiclane/maps-sdk > TrafficService > removePersistentRoadblockByCoordinates
TrafficService.removePersistentRoadblockByCoordinates() method
Remove an user persistent roadblock identified by a reference coordinate ( for path impact zone type )
Signature:
static removePersistentRoadblockByCoordinates(coords: Coordinates): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
coords |
The roadblock start coordinates. Must be equal with first coordinate in coords list provided when the roadblock was defined |
Returns:
GemError
GemError.success on success, GemError.notFound if the roadblock does not exist