NTOSRMOfflineRoutingService
@interface NTOSRMOfflineRoutingService : NTRoutingService
An offline routing service that uses Carto-specific routing database file created from OSRM prepared routing files. Note: this class is experimental and may change or even be removed in future SDK versions.
-
Constructs a new OSRMOfflineRoutingService 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
pathThe full path to the database file.
-
Undocumented
Declaration
Objective-C
- (NSString *)getProfile; -
Undocumented
Declaration
Objective-C
-(NSString*)getProfileSwigExplicitNTOSRMOfflineRoutingService; -
Undocumented
Declaration
Objective-C
- (void)setProfile:(NSString *)profile; -
Undocumented
Declaration
Objective-C
-(void)setProfileSwigExplicitNTOSRMOfflineRoutingService: (NSString*)profile; -
Undocumented
Declaration
Objective-C
- (NTRouteMatchingResult *)matchRoute:(NTRouteMatchingRequest *)request; -
Undocumented
Declaration
Objective-C
-(NTRouteMatchingResult*)matchRouteSwigExplicitNTOSRMOfflineRoutingService: (NTRouteMatchingRequest*)request; -
Undocumented
Declaration
Objective-C
- (NTRoutingResult *)calculateRoute:(NTRoutingRequest *)request; -
Undocumented
Declaration
Objective-C
-(NTRoutingResult*)calculateRouteSwigExplicitNTOSRMOfflineRoutingService: (NTRoutingRequest*)request; -
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTOSRMOfflineRoutingService Class Reference