Home > @magiclane/maps-sdk > DriverBehaviour > (constructor)

DriverBehaviour.(constructor)

Create a new driver behaviour instance.

Signature:

constructor(dataSource: DataSource, useMapMatch: boolean);

Parameters

Parameter

Type

Description

dataSource

DataSource

The data source to use.

useMapMatch

boolean

Whether to use map match or not.