Home > @magiclane/maps-sdk > TrafficService > getPersistentRoadblock

TrafficService.getPersistentRoadblock() method

Get an user persistent roadblock identified by id

Signature:

static getPersistentRoadblock(id: string): TrafficEvent | null;

Parameters

Parameter

Type

Description

id

string

The roadblock id as it was provided in addPersistentRoadblock function

Returns:

TrafficEvent | null

The roadblock if found, null otherwise