Home > @magiclane/maps-sdk > NavigationEventType

NavigationEventType enum

Warning: This API is now obsolete.

Use specialized startNavigation/startSimulation callbacks instead. Will be removed in a future version.

Navigation instruction event types

Signature:

export declare enum NavigationEventType 

Enumeration Members

Member

Value

Description

destinationReached

1

Notification received when the destination has been reached. This is the moment when the navigation request finished with success.

error

0

Signal that the navigation request finished with error.

navigationInstructionUpdate

2

Notification called when the navigation instruction is updated. This method is called periodically, usually at 1 second intervals, to update the navigation information for the UI.