ISItineraryProvider Class Reference
Inherits from | NSObject |
---|---|
Declared in | ISItineraryProvider.h |
lastLocation
Last location received.
@property (nonatomic, readonly) ISLocation *lastLocation
Declared In
ISItineraryProvider.h
lastItinerary
Last itinerary computed.
@property (nonatomic, readonly) ISItinerary *lastItinerary
Declared In
ISItineraryProvider.h
renderer
Itinerary Renderer.
@property (nonatomic, readonly) ISItineraryRenderer *renderer
Declared In
ISItineraryProvider.h
lastItineraryRequest
Last Itinerary request (could be use to cancel last request before asking another one).
@property (nonatomic, readonly) ISItineraryBaseRequest *lastItineraryRequest
Declared In
ISItineraryProvider.h
+ getVersion
Static method used to know the current itinerary library version.
+ (NSString *)getVersion
Return Value
Current itinerary library version.
Declared In
ISItineraryProvider.h
– requestItineraryFromCurrentLocationWithEndPoint:andEndMapId:andDelegate:andPMR:
Method used to get a route from the user current location.
- (ISItineraryRequest *)requestItineraryFromCurrentLocationWithEndPoint:(CGPoint)endPoint andEndMapId:(int)endMapId andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
endPoint |
Itinerary request end point. |
---|---|
endMapId |
Itinerary request end map identifier. |
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request.
Declared In
ISItineraryProvider.h
– requestItineraryFromCurrentLocationWithEndPositions:andDelegate:andPMR:
Method used to get a route from the user current location.
- (ISItineraryRequest *)requestItineraryFromCurrentLocationWithEndPositions:(NSArray *)endPositions andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
endPositions |
Itinerary request end position array. |
---|---|
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request.
Declared In
ISItineraryProvider.h
– requestItineraryToCurrentLocationWithStartPoint:andStartMapId:andDelegate:andPMR:
Method used to get a route to the user current location.
- (ISItineraryRequest *)requestItineraryToCurrentLocationWithStartPoint:(CGPoint)startPoint andStartMapId:(int)startMapId andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
startPoint |
Itinerary request start point. |
---|---|
startMapId |
Itinerary request start map identifier. |
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request.
Declared In
ISItineraryProvider.h
– requestItineraryToCurrentLocationWithStartPositions:andDelegate:andPMR:
Method used to get a route to the user current location.
- (ISItineraryRequest *)requestItineraryToCurrentLocationWithStartPositions:(NSArray *)startPositions andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
startPositions |
Itinerary request start position array. |
---|---|
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request.
Declared In
ISItineraryProvider.h
– requestItineraryWithStartPoint:andStartMapId:andEndPoint:andEndMapId:andDelegate:andPMR:
Method used to get a route between two points.
- (ISItineraryRequest *)requestItineraryWithStartPoint:(CGPoint)startPoint andStartMapId:(int)startMapId andEndPoint:(CGPoint)endPoint andEndMapId:(int)endMapId andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
startPoint |
Itinerary request start point. |
---|---|
startMapId |
Itinerary request start map id. |
endPoint |
Itinerary request end point. |
endMapId |
Itinerary request end map id. |
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request.
Declared In
ISItineraryProvider.h
– requestItineraryWithStartPositions:andEndPositions:andDelegate:andPMR:
Method used to get a route between two points.
- (ISItineraryRequest *)requestItineraryWithStartPositions:(NSMutableArray *)startPositions andEndPositions:(NSMutableArray *)endPositions andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
startPositions |
Itinerary request start positions array. |
---|---|
endPositions |
Itinerary request end positions array. |
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute the route for disabled people. |
Return Value
Related request (nil if error).
Declared In
ISItineraryProvider.h
– requestOptimizedItineraryWithWaypoints:andOptimMode:andKeepFirstPosition:andKeepLastPosition:andDelegate:andPMR:
Method used to get an optimized route between several points.
- (ISItineraryOptimizedRequest *)requestOptimizedItineraryWithWaypoints:(NSArray *)waypoints andOptimMode:(ISEOptimizationMode)mode andKeepFirstPosition:(Boolean)keepFirstPosition andKeepLastPosition:(Boolean)keepLastPosition andDelegate:(id<ISItineraryRequestDelegate>)delegate andPMR:(Boolean)pmr
Parameters
waypoints |
Waypoints to pass through. |
---|---|
mode |
Algorithm optimization mode. |
keepFirstPosition |
Boolean used to know if we treat the first position. |
keepLastPosition |
Boolean used to know if we treat the last position. |
delegate |
Delegate to notify for ISItineraryRequest events (succeeded, failed). |
pmr |
Boolean used to know if we compute a route for disabled people. |
Return Value
Related request (nil if error).
Declared In
ISItineraryProvider.h
– updateItinerary:
Method called to update the last itinerary.
- (void)updateItinerary:(ISItinerary *)itinerary
Parameters
itinerary |
Itinerary to use. |
---|
Declared In
ISItineraryProvider.h