MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MPVenue Class Reference

#include <MPVenue.h>

Inheritance diagram for MPVenue:

Instance Methods

(nullable MPMapStyle *) - getDefaultStyle
 
(nullable GMSCoordinateBounds *) - getBoundingBox
 
(nullable GMSCoordinateBounds *) - getVenueBounds
 

Properties

NSString< Optional > * solutionId
 
NSString * venueId
 
NSNumber< Optional > * defaultFloor
 
NSString * tilesUrl
 
NSArray< MPBuilding * >< MPBuilding, Optional > * buildings
 
MPPoint< Optional > * anchor
 
NSArray< Optional > * bbox
 
NSArray< NSArray * > * bounds
 
NSArray< MPPoint * >< Optional, MPPoint > * entryPoints
 
NSString< Optional > * graphId
 
NSString< Optional > * venueKey
 
NSString< Optional > * externalId
 
NSString< Optional > * name
 
NSArray< MPMapStyle * >< MPMapStyle > * styles
 
NSDictionary< NSString *, MPLocationField * >< Optional, MPLocationField > * fields
 
BOOL hasGraph
 

Detailed Description

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

Method Documentation

◆ getBoundingBox

- (nullable GMSCoordinateBounds *) getBoundingBox

Get the geographic bounding box for the venue

◆ getDefaultStyle

- (nullable MPMapStyle *) getDefaultStyle

Get a default style. If none is set, it will be the first string value in the list of map styles

◆ getVenueBounds

- (nullable GMSCoordinateBounds *) getVenueBounds

Get the geographic bounds for the venue

Deprecated

Property Documentation

◆ anchor

- (MPPoint<Optional>*) anchor
readwritenonatomicstrong

Venue anchor point.

◆ bbox

- (NSArray<Optional>*) bbox
readwritenonatomicstrong

Geographic BBox array [w,s,e,n] for this venue.

◆ bounds

- (NSArray<NSArray*>*) bounds
readwritenonatomicstrong

Geographic bounds array [[lng,lat],[lng,lat],...] for this venue.

◆ buildings

- (NSArray<MPBuilding*><MPBuilding, Optional> *) buildings
readwritenonatomicstrong

Container array for buildings in this venue. Note that this array are not populated initially. MPMapControl will populate this for the active venue. To get the buildings for an arbitrary venue, please use MPVenueProvider.getBuildingsWithCompletion().

◆ defaultFloor

- (NSNumber<Optional>*) defaultFloor
readwritenonatomicstrong

Venue default floor

◆ entryPoints

- (NSArray<MPPoint*><Optional, MPPoint> *) entryPoints
readwritenonatomicstrong

Array of entry points in this venue.

◆ externalId

- (NSString<Optional>*) externalId
readwritenonatomicstrong

External id.

◆ fields

- (NSDictionary<NSString*, MPLocationField*><Optional, MPLocationField> *) fields
readnonatomicstrong

Dictionary of custom fields

◆ graphId

- (NSString<Optional>*) graphId
readwritenonatomicstrong

Route network/graph identifier for the given venue.

◆ hasGraph

- (BOOL) hasGraph
readnonatomicassign

YES/NO property - determines of venue has _graphId

◆ name

- (NSString<Optional>*) name
readwritenonatomicstrong

Venue name.

◆ solutionId

- (NSString<Optional>*) solutionId
readwritenonatomicstrong

Solution id

◆ styles

- (NSArray<MPMapStyle*><MPMapStyle> *) styles
readwritenonatomicstrong

Array of possible map styles.

◆ tilesUrl

- (NSString*) tilesUrl
readwritenonatomicstrong

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.

◆ venueId

- (NSString*) venueId
readwritenonatomicstrong

Venue id

◆ venueKey

- (NSString<Optional>*) venueKey
readwritenonatomicstrong

Venue key.