SITNavigationProgress

@interface SITNavigationProgress : NSObject

It provides information of the progress of a user while following a route.

  • Unique identifier of the step inside a route.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger currentStepIndex;
  • Distance from from point to end of step.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float distanceToEndStep;
  • Time from from point to end of route.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float timeToEndStep;
  • Distance from from point to end of route.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float distanceToGoal;
  • Time estimation from from point to end of step.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float timeToGoal;
  • Closest location inside the route closer to the user’s location.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        SITLocation *_Nonnull closestLocationInRoute;
  • The indication a user should follow in order to arrive the destination following a route.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        SITIndication *_Nonnull currentIndication;
  • The next indication a user should follow in order to arrive the destination following a route.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) SITIndication *_Nonnull nextIndication;
  • Distance in meters to the closest point in route

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float distanceToClosestPointInRoute;
  • Current route step

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) SITRouteStep *_Nonnull routeStep;
  • List of ordered points of the route.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSArray<SITPoint *> *_Nonnull points;
  • Return list of ordered points split by floor, each list contains points from one floor, but can have multiple lists of the same floor. Use this method to display segments in a map, each list should be a polyline. For example, if there is no path to go to the other side of the same floor and you need to go up one floor and then go down again to the original floor, this method will return one segment on the current floor, one segment on the upper floor and one more segment in the current floor. Drawing example: if you want to draw all the points of a floor, you should draw a polyline for each list that contains the floor you want to show.

    Declaration

    Objective-C

    - (NSArray<SITRouteSegment *> *_Nonnull)segments;

    Return Value

    Return list of ordered points split by floor.

  • Deprecated

    Use closestLocationInRoute.position instead

    Closest point inside the route closer to the user’s location.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) SITPoint *_Nullable closestPointToRoute;