MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Properties | List of all members
MPRouteLeg Class Reference

#include <MPRouteLeg.h>

Inheritance diagram for MPRouteLeg:

Properties

NSNumber< Optional > * distance
 
NSNumber< Optional > * duration
 
MPRouteCoordinate< Optional > * start_location
 
MPRouteCoordinate< Optional > * end_location
 
NSString< Optional > * start_address
 
NSString< Optional > * end_address
 
NSMutableArray< MPRouteStep * >< MPRouteStep, Optional > * steps
 
MPRouteLegType routeLegType
 

Detailed Description

Route leg model. A route model will consist of one ore more route legs. Typically a route from 1st floor to 2nd floor will consist of two route legs. Thus, a route leg defines a continueus route part within the same floor and/or building and/or vehicle.

Property Documentation

◆ distance

- (NSNumber<Optional>*) distance
readwritenonatomicstrong

The route leg distance in meters

◆ duration

- (NSNumber<Optional>*) duration
readwritenonatomicstrong

The route leg duration in seconds

◆ end_address

- (NSString<Optional>*) end_address
readwritenonatomicstrong

The route leg end address. If the position is outdoors, the address may be a postal address. If the position is indoors, the address may be a textual description of the indoor location, like "Lower Ground Floor, Building X".

◆ end_location

- (MPRouteCoordinate<Optional>*) end_location
readwritenonatomicstrong

The route leg end position

◆ routeLegType

- (MPRouteLegType) routeLegType
readwritenonatomicassign

The type of leg, determined by the source service, Google or MapsIndoors.

◆ start_address

- (NSString<Optional>*) start_address
readwritenonatomicstrong

The route leg start address. If the position is outdoors, the address may be a postal address. If the position is indoors, the address may be a textual description of the indoor location, like "Lower Ground Floor, Building X".

◆ start_location

- (MPRouteCoordinate<Optional>*) start_location
readwritenonatomicstrong

The route leg start position

◆ steps

- (NSMutableArray<MPRouteStep*><MPRouteStep, Optional> *) steps
readwritenonatomicstrong

Collection of steps for the route leg.