VMERoute Request
Represents an instance of route request
Since
1.19
Parameters
Determines the type of request
Determines the visiting order of the destination objects
Notes
By default:
VMERouteRequest.isAccessible() will return false.
Constructors
Properties
If we want to animate all the route
distanceThreshold is used to force a max distance between position given and nearest node if specified, the routing will take this value to search for nearest nodes within this range if not specified, there will be not distance limit to search for a node
doNotComputeNavigation is used to optimise routing, avoid compute navigation
Requests that the computed route is accessible.
Ordered array of String objects, where each object must correspond to a poi Id
The desired route request type.
Sets the route destination order.
Functions
Adds a position object to the end of the destinations array’s content.
Adds a destination to the request.
Adds the objects contained in the given array to the end of the destinations array’s content.
Remove all destinations objects from the destination array.
Remove destination object at the given index
Repois the destination object at the given index with the given destination.
The position representing the origin of the route.
The poi id representing the origin of the route.