Home > @magiclane/maps-sdk > MappedDrivingEvent

MappedDrivingEvent class

A mapped driving event.

Provides information about a driving event.

This class should not be instantiated directly. Instead, use the DriverBehaviourAnalysis.drivingEvents getter to obtain a list of instances.

Driver Behaviour

Signature:

export declare class MappedDrivingEvent 

Constructors

Constructor

Modifiers

Description

(constructor)()

Constructs a new instance of the MappedDrivingEvent class

Properties

Property

Modifiers

Type

Description

eventType

readonly

DrivingEvent

Get the detected event type.

latitudeDeg

readonly

number

Get the latitude coordinates of the event.

longitudeDeg

readonly

number

Get the longitude coordinates of the event.

pointerId

readonly

number | bigint

time

readonly

number

Get the time of the event in milliseconds since epoch.

Methods

Method

Modifiers

Description

dispose()

init(id)

static