SITNavigationPoint
Objective-C
@interface SITNavigationPoint : NSObject <SITMapperProtocol>
Swift
class SITNavigationPoint : NSObject, SITMapperProtocol
A class representing a navigation point within a building.
SITNavigationPoint
defines a location in terms of latitude, longitude, and floor identifier.
It may optionally include a name to identify the navigation target more easily (e.g., “Reception”).
-
Latitude of the navigation point (WGS84).
Declaration
Objective-C
@property (nonatomic, readonly) double latitude;
Swift
var latitude: Double { get }
-
Longitude of the navigation point (WGS84).
Declaration
Objective-C
@property (nonatomic, readonly) double longitude;
Swift
var longitude: Double { get }
-
Identifier of the floor where this point is located.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull floorIdentifier;
Swift
var floorIdentifier: String { get }
-
Optional display name for the navigation point.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *navigationName;
Swift
var navigationName: String? { get set }
-
Initializes a new navigation point.
Declaration
Objective-C
- (nonnull instancetype)initWithLat:(double)lat lng:(double)lng floorIdentifier:(nonnull NSString *)floorIdentifier;
Swift
init(lat: Double, lng: Double, floorIdentifier: String)
Parameters
lat
Latitude of the point (WGS84).
lng
Longitude of the point (WGS84).
floorIdentifier
Identifier of the floor on which the point resides.
Return Value
A new instance of
SITNavigationPoint
.