SITPOI
Objective-C
@interface SITPOI : SITBuildingResource
Swift
class SITPOI : SITBuildingResource
This class represents a Point Of Interest inside a SITBuilding
See
See SITPOIBase to check base properties-
radius (m) of the cylindrical area of the POI around the (x,y) point
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nonnull radius;
Swift
var radius: NSNumber { get set }
-
Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull name;
Swift
var name: String { get set }
-
Additional information about the POI in HTML format
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull infoHTML;
Swift
var infoHTML: String { get set }
-
Identifier of the main category of this poi
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull categoryIdentifier;
Swift
var categoryIdentifier: String { get set }
-
Array of identifier of categories of this Poi, now a poi can belong to several categories
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nonnull categoryIdentifiers;
Swift
var categoryIdentifiers: [String] { get set }
-
Relationship to a SITPOICategory object
Declaration
Objective-C
@property (nonatomic, strong) SITPOICategory *_Nonnull category;
Swift
var category: SITPOICategory { get set }
-
Array of categories of this Poi, now a poi can belong to several categories
Declaration
Objective-C
@property (nonatomic, strong) NSArray<SITPOICategory *> *_Nonnull categories;
Swift
var categories: [SITPOICategory] { get set }
-
Returns the name of the POI in the language specified. If there is no name for that language it will return the default value
Declaration
Objective-C
- (NSString *_Nonnull)getLocalizedName:(NSString *_Nonnull)langCode;
Swift
func getLocalizedName(_ langCode: String) -> String
Parameters
langCode
Language code in ISO 639. It must have two digits, for example “es”, “en”
Return Value
Localized name