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

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 }

Methods

  • Describes the location of the Point of interest (geographical and cartesianCoordinates)

    Declaration

    Objective-C

    - (SITPoint *_Nonnull)position;

    Swift

    func position() -> SITPoint