MPVenue

@interface MPVenue

The venue model holds data about the buildings and floors in a venue, plus additional meta-data.

  • Solution id

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *solutionId;

    Swift

    var solutionId: String! { get set }
  • Venue id

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *venueId;

    Swift

    var venueId: String! { get set }
  • Venue default floor

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSNumber *defaultFloor;

    Swift

    var defaultFloor: NSNumber! { get set }
  • The general url template to be used when creating floor layers for this venue. If used by this framework, the url string must have format prefix{param_1}infix{param_N}suffix, e.g.: http://tiles.url.com/{floor}/{x}/{y}/{zoom}.png. See also MPURITemplate.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *tilesUrl;

    Swift

    var tilesUrl: String! { get set }
  • Array of buildings in this venue.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray *buildings;

    Swift

    var buildings: [Any]! { get set }
  • Venue anchor point.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) MPPoint *anchor;

    Swift

    var anchor: MPPoint! { get set }
  • Geographic BBox array [w,s,e,n] for this venue.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray *bbox;

    Swift

    var bbox: [Any]! { get set }
  • Geographic bounds array [[lng,lat],[lng,lat],…] for this venue.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray<NSArray *> *bounds;

    Swift

    var bounds: [[Any]]! { get set }
  • Array of entry points in this venue.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray *entryPoints;

    Swift

    var entryPoints: [Any]! { get set }
  • Route network/graph identifier for the given venue.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *graphId;

    Swift

    var graphId: String! { get set }
  • Venue key.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *venueKey;

    Swift

    var venueKey: String! { get set }
  • Venue name.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *name;

    Swift

    var name: String! { get set }
  • Array of possible map styles.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray<MPMapStyle> *styles;

    Swift

    var styles: [Any]! { get set }
  • Get a default style. If none is set, it will be the first string value in the list of map styles

    Declaration

    Objective-C

    - (NSString *)getDefaultStyle;

    Swift

    func getDefaultStyle() -> String!
  • Get the geographic bounding box for the venue

    Declaration

    Objective-C

    - (id)getBoundingBox;

    Swift

    func getBoundingBox() -> Any!
  • Get the geographic bounds for the venue

    Declaration

    Objective-C

    - (id)getVenueBounds;

    Swift

    func getBounds() -> Any!