Signal that is emitted when there is a change in the route.
Signal that is emitted when the user clicks on a route instruction.
Signal that is emitted when the mouse has moved out of a route instruction.
Signal that is emitted when the mouse is moved over a route instruction.
Find a route between the source and the destination. Note: This method will only return the route and will not update any views.
A location in site coordinates.
A location in site coordinates.
A promise which returns the route. In case there is no route found between the source and destination, the promise will be rejected with the specific reason for the rejection.
Find a route between the source and the destination. This will also open the user interface elements associated with the route.
The starting point of the route. If a Vector3 location is specified, it should be in site coordinates.
The ending point of the route. If a Vector3 location is specified, it should be in site coordinates.
Optional
moveToStart: booleanA boolean specifying whether to move to start or not. If not provided this parameter will default to true.
A promise which returns the route. In case there is no route found between the source and destination, the promise will be rejected with the specific reason for the rejection.
Generated using TypeDoc
Route API object that encapsulates all classes and methods that contain all classes and methods needed to work with routing.