@magiclane/maps-sdk
    Preparing search index...

    Class MappedDrivingEvent

    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.

    Index

    Constructors

    Accessors

    • get eventType(): DrivingEvent

      Get the detected event type.

      Returns DrivingEvent

      The detected event type. See DrivingEvent.

      An exception if it fails.

    • get latitudeDeg(): number

      Get the latitude coordinates of the event.

      Returns number

      The latitude coordinates of the event.

      An exception if it fails.

    • get longitudeDeg(): number

      Get the longitude coordinates of the event.

      Returns number

      The longitude coordinates of the event.

      An exception if it fails.

    • get pointerId(): number

      Returns number

    • get time(): number

      Get the time of the event in milliseconds since epoch.

      Returns number

      The time of the event in milliseconds since epoch.

      An exception if it fails.

    Methods

    • Returns void