Home > @magiclane/maps-sdk > TrafficEvent > (constructor)
TrafficEvent.(constructor)
Constructs a new instance of the TrafficEvent class
Signature:
constructor(id?: number, mapId?: number);Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
number |
(Optional) |
|
mapId |
number |
(Optional) |