VMERoute Request
class VMERouteRequest(requestType: VMERouteRequestType, routeDestinationOrder: VMERouteDestinationsOrder, isAccessible: Boolean, animateAllRoute: Boolean, distanceThreshold: Double)
Content copied to clipboard
Represents an instance of route request
Since
1.19
Parameters
request Type
Determines the type of request
route Destination Order
Determines the visiting order of the destination objects
Notes
By default:
VMERouteRequest.isAccessible() will return false.
Constructors
Link copied to clipboard
fun VMERouteRequest(requestType: VMERouteRequestType, routeDestinationOrder: VMERouteDestinationsOrder, isAccessible: Boolean = false, animateAllRoute: Boolean = false, distanceThreshold: Double = -1.0)
Content copied to clipboard
Functions
Link copied to clipboard
Adds a position object to the end of the destinations array’s content.
Adds a destination to the request.
Link copied to clipboard
Adds the objects contained in the given array to the end of the destinations array’s content.
Link copied to clipboard
Remove all destinations objects from the destination array.
Link copied to clipboard
Remove destination object at the given index
Link copied to clipboard
Repois the destination object at the given index with the given destination.
Link copied to clipboard
The position representing the origin of the route.
The poi id representing the origin of the route.