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
Returns:

The count of CLLocationCoordinate2D points that make up this path.

– directions

- (WRLDRouteDirections *)directions
Returns:

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.

Returns:

The mode of transport for this step.

– isIndoors

- (BOOL)isIndoors
Returns:

Whether this step is indoors or not.

– indoorId

- (NSString *)indoorId
Returns:

If indoors, the ID of the indoor map this step is inside.

– indoorFloorId

- (int)indoorFloorId
Returns:

If indoors, the ID of the floor this step is on.

– isMultiFloor

- (BOOL)isMultiFloor
Returns:

If indoors, this step represents moving between the floors of the previous and next steps.

– duration

- (NSTimeInterval)duration
Returns:

The estimated time this step will take to travel in seconds.

– distance

- (CLLocationDistance)distance
Returns:

The estimated distance this step covers in meters.

– stepName

- (NSString *)stepName
Returns:

If available, the name of the location this step is on.

v0.0.1600