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