NTValhallaOfflineRoutingService
@interface NTValhallaOfflineRoutingService : NTRoutingService
An offline routing service that uses Valhalla routing tiles.
-
Constructs a new ValhallaOfflineRoutingService instance given database file.
Warning
Throws NSException If the database file could not be opened or read.Declaration
Objective-C
- (id)initWithPath:(NSString *)path;
Parameters
path
The full path to the database file.
-
Returns the value of specified Valhalla configuration parameter.
Declaration
Objective-C
- (NTVariant *)getConfigurationParameter:(NSString *)param;
Parameters
param
The name of the parameter. For example, “meili.auto.search_radius”.
Return Value
The value of the parameter. If the parameter does not exist, empty variant is returned.
-
Sets the value of specified Valhalla configuration parameter.
Declaration
Objective-C
- (void)setConfigurationParameter:(NSString *)param value:(NTVariant *)value;
Parameters
param
The name of the parameter. For example, “meili.auto.search_radius”.
value
The new value of the parameter.
-
Undocumented
Declaration
Objective-C
- (NSString *)getProfile;
-
Undocumented
Declaration
Objective-C
-(NSString*)getProfileSwigExplicitNTValhallaOfflineRoutingService;
-
Undocumented
Declaration
Objective-C
- (void)setProfile:(NSString *)profile;
-
Undocumented
Declaration
Objective-C
-(void)setProfileSwigExplicitNTValhallaOfflineRoutingService: (NSString*)profile;
-
Undocumented
Declaration
Objective-C
- (NTRouteMatchingResult *)matchRoute:(NTRouteMatchingRequest *)request;
-
Undocumented
Declaration
Objective-C
-(NTRouteMatchingResult*)matchRouteSwigExplicitNTValhallaOfflineRoutingService: (NTRouteMatchingRequest*)request;
-
Undocumented
Declaration
Objective-C
- (NTRoutingResult *)calculateRoute:(NTRoutingRequest *)request;
-
Undocumented
Declaration
Objective-C
-(NTRoutingResult*)calculateRouteSwigExplicitNTValhallaOfflineRoutingService: (NTRoutingRequest*)request;
-
Undocumented
Declaration
Objective-C
-(void)dealloc;