WRLDRouteStep Class Reference
A single step of a WRLDRoute.
– path
- (CLLocationCoordinate2D *)path
An array of the individual CLLocationCoordinate2D points that make up this step. This can be a single point if no distance was covered, for example a WRLDRouteStep may indicate departure or arrival with a single point.
Returns:An array of the individual CLLocationCoordinate2D points that make up this step.
– pathCount
- (int)pathCount
The count of CLLocationCoordinate2D points that make up this path.
– directions
- (WRLDRouteDirections *)directions
The directions associated with this step.
– mode
- (WRLDRouteTransportationMode)mode
Specifies the mode of transport for this step:
- WRLDWalking
: Indicates that the route is a walking WRLDRoute.
The mode of transport for this step.
– isIndoors
- (BOOL)isIndoors
Whether this step is indoors or not.
– indoorId
- (NSString *)indoorId
If indoors, the ID of the indoor map this step is inside.
– indoorFloorId
- (int)indoorFloorId
If indoors, the ID of the floor this step is on.
– isMultiFloor
- (BOOL)isMultiFloor
If indoors, this step represents moving between the floors of the previous and next steps.
– duration
- (NSTimeInterval)duration
The estimated time this step will take to travel in seconds.
– distance
- (CLLocationDistance)distance
The estimated distance this step covers in meters.
– stepName
- (NSString *)stepName
If available, the name of the location this step is on.