VisioMove Essential (iOS)  1.27.3

◆ 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];
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