IARoutePoint
Objective-C
@interface IARoutePoint : NSObject <IALatLngFloorCompatible>
Swift
class IARoutePoint : NSObject, IALatLngFloorCompatible
Represents a point in a route.
-
Coordinate of this point.
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
Swift
var coordinate: CLLocationCoordinate2D { get }
-
Floor number of this point.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger floor;
Swift
var floor: Int { get }
-
Get the index of the point. This is the zero-based index of the node in the original JSON graph this point corresponds to. If this is a virtual wayfinding node, e.g., a starting point of the route outside the original graph, nodeIndex will be -1.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger nodeIndex;
Swift
var nodeIndex: Int { get }