VisioMove Essential (iOS)  1.27.8

◆ computeRoute:callback:

- (void) computeRoute: (VMERouteRequest *_Nonnull)  routeRequest
callback: (id< VMEComputeRouteCallback > _Nonnull)  callback 

Requests that a route be computed.

Parameters
routeRequestThe route request
callbackThe callback to invoke with the result.
Example
VMERouteRequest* lRouteRequest = [[VMERouteRequest alloc] initWithRequestType:VMERouteRequestTypeFastest
[lRouteRequest setOriginWithPlaceID:@"B1-UL00-ID0039"];
[lRouteRequest addDestinations:@[@"B4-UL04-ID0005", @"B3-LL01-ID0004"]];
[self.mMapView computeRoute:lRouteRequest callback:self];
@ VMERouteRequestTypeFastest
Indicates a request for a route that optimizes time.
Definition: VMERouteRequestType.h:27
@ VMERouteDestinationsOrderOptimal
Indicates that the destinations should be traversed in the order that minimizes the overall distance ...
Definition: VMERouteDestinationsOrder.h:31
Represents a route request to computeRoute:callback: (VMEMapView)
Definition: VMERouteRequest.h:16
Version
1.0
1.2 The callback parameter is now required by this method in order to handle the result.
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy